PriorityQueue.Iterator Method

Definition

Returns an iterator over the elements in this queue.

[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 queue

Attributes

Remarks

Returns an iterator over the elements in this queue. The iterator does not return the elements in any particular order.

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