BreakIterator.Current Method

Definition

Returns character index of the text boundary that was most recently returned by next(), next(int), previous(), first(), last(), following(int) or preceding(int).

[Android.Runtime.Register("current", "()I", "GetCurrentHandler")]
public abstract int Current ();
[<Android.Runtime.Register("current", "()I", "GetCurrentHandler")>]
abstract member Current : unit -> int

Returns

The text boundary returned from the above methods, first or last text boundary.

Attributes

Remarks

Returns character index of the text boundary that was most recently returned by next(), next(int), previous(), first(), last(), following(int) or preceding(int). If any of these methods returns BreakIterator.DONE because either first or last text boundary has been reached, it returns the first or last text boundary depending on which one is reached.

Java documentation for java.text.BreakIterator.current().

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to