共用方式為


ArrayBlockingQueue.Iterator Method

Definition

Returns an iterator over the elements in this queue in proper sequence.

[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 in proper sequence

Implements

Attributes

Remarks

Returns an iterator over the elements in this queue in proper sequence. The elements will be returned in order from first (head) to last (tail).

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

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