Share via


HashSet.Iterator Method

Definition

Returns an iterator over the elements in this set.

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

Returns

an Iterator over the elements in this set

Implements

Attributes

Remarks

Returns an iterator over the elements in this set. The elements are returned in no particular order.

Java documentation for java.util.HashSet.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

See also