Partager via


UCharacter.ExtendedNameIterator Property

Definition

<strong>[icu]</strong>

public static Android.Icu.Util.IValueIterator? ExtendedNameIterator { [Android.Runtime.Register("getExtendedNameIterator", "()Landroid/icu/util/ValueIterator;", "", ApiSince=24)] get; }
[<get: Android.Runtime.Register("getExtendedNameIterator", "()Landroid/icu/util/ValueIterator;", "", ApiSince=24)>]
static member ExtendedNameIterator : Android.Icu.Util.IValueIterator

Property Value

an iterator

Attributes

Remarks

<strong>[icu]</strong>

Returns an iterator for character names, iterating over codepoints.

This API only gets the iterator for the extended names. For modern, most up-to-date Unicode names use getNameIterator() or for older 1.0 Unicode names use get1_0NameIterator().

Example of use:<br>

ValueIterator iterator = UCharacter.getExtendedNameIterator();
            ValueIterator.Element element = new ValueIterator.Element();
            while (iterator.next(element)) {
                System.out.println("Codepoint \\u" +
                                   Integer.toHexString(element.codepoint) +
                                   " has the name " + (String)element.value);
            }

The maximal range which the name iterator iterates is from

Java documentation for android.icu.lang.UCharacter.getExtendedNameIterator().

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