次の方法で共有


PriorityQueue.Spliterator Method

Definition

Creates a <em>late-binding</em> and <em>fail-fast</em> Spliterator over the elements in this queue.

[Android.Runtime.Register("spliterator", "()Ljava/util/Spliterator;", "", ApiSince=24)]
public Java.Util.ISpliterator? Spliterator ();
[<Android.Runtime.Register("spliterator", "()Ljava/util/Spliterator;", "", ApiSince=24)>]
member this.Spliterator : unit -> Java.Util.ISpliterator

Returns

a Spliterator over the elements in this queue

Attributes

Remarks

Creates a <em>late-binding</em> and <em>fail-fast</em> Spliterator over the elements in this queue. The spliterator does not traverse elements in any particular order (the Spliterator#ORDERED ORDERED characteristic is not reported).

The Spliterator reports Spliterator#SIZED, Spliterator#SUBSIZED, and Spliterator#NONNULL. Overriding implementations should document the reporting of additional characteristic values.

Added in 1.8.

Java documentation for java.util.PriorityQueue.spliterator().

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