Compartir a través de


ArraySet.Iterator Method

Definition

Return an java.util.Iterator over all values in the set.

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

Returns

Implements

Attributes

Remarks

Return an java.util.Iterator over all values in the set.

<b>Note:</b> this is a fairly inefficient way to access the array contents, it requires generating a number of temporary objects and allocates additional state information associated with the container that will remain for the life of the container.

Java documentation for android.util.ArraySet.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