다음을 통해 공유


UCharacterIterator.NextCodePoint Method

Definition

Returns the code point at index, and increments to the next code point (post-increment semantics).

[Android.Runtime.Register("nextCodePoint", "()I", "GetNextCodePointHandler", ApiSince=24)]
public virtual int NextCodePoint ();
[<Android.Runtime.Register("nextCodePoint", "()I", "GetNextCodePointHandler", ApiSince=24)>]
abstract member NextCodePoint : unit -> int
override this.NextCodePoint : unit -> int

Returns

the next codepoint in text, or DONE if the index is at the limit of the text.

Attributes

Remarks

Returns the code point at index, and increments to the next code point (post-increment semantics). If index does not point to a valid surrogate pair, the behavior is the same as next(). Otherwise the iterator is incremented past the surrogate pair, and the code point represented by the pair is returned.

Java documentation for android.icu.text.UCharacterIterator.nextCodePoint().

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