Share via


DelayQueue.Iterator Method

Definition

Returns an iterator over all the elements (both expired and unexpired) 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

Implements

Attributes

Remarks

Returns an iterator over all the elements (both expired and unexpired) in this queue. The iterator does not return the elements in any particular order.

The returned iterator is <i>weakly consistent</i>.

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