Share via


UnicodeSet.Iterator Method

Definition

Returns a string iterator.

[Android.Runtime.Register("iterator", "()Ljava/util/Iterator;", "GetIteratorHandler", ApiSince=24)]
public virtual Java.Util.IIterator Iterator ();
[<Android.Runtime.Register("iterator", "()Ljava/util/Iterator;", "GetIteratorHandler", ApiSince=24)>]
abstract member Iterator : unit -> Java.Util.IIterator
override this.Iterator : unit -> Java.Util.IIterator

Returns

Attributes

Remarks

Returns a string iterator. Uses the same order of iteration as UnicodeSetIterator.

<b>Warning: </b>For speed, UnicodeSet iteration does not check for concurrent modification. Do not alter the UnicodeSet while iterating.

Java documentation for android.icu.text.UnicodeSet.iterator().

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