Aracılığıyla paylaş


ArrayDeque.Iterator Method

Definition

Returns an iterator over the elements in this deque.

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

Implements

Attributes

Remarks

Returns an iterator over the elements in this deque. The elements will be ordered from first (head) to last (tail). This is the same order that elements would be dequeued (via successive calls to #remove or popped (via successive calls to #pop).

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