Compartilhar via


ICharacterIterator.Next Method

Definition

Increments the iterator's index by one and returns the character at the new index.

[Android.Runtime.Register("next", "()C", "GetNextHandler:Java.Text.ICharacterIteratorInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public char Next ();
[<Android.Runtime.Register("next", "()C", "GetNextHandler:Java.Text.ICharacterIteratorInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member Next : unit -> char

Returns

the character at the new position or DONE if the new position is off the end of the text range.

Attributes

Remarks

Increments the iterator's index by one and returns the character at the new index. If the resulting index is greater or equal to getEndIndex(), the current index is reset to getEndIndex() and a value of DONE is returned.

Java documentation for java.text.CharacterIterator.next().

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