Udostępnij za pośrednictwem


ISortedSet.IIterable.Spliterator Method

Definition

Creates a Spliterator over the elements in this sorted set.

[Android.Runtime.Register("spliterator", "()Ljava/util/Spliterator;", "GetSpliteratorHandler:Java.Util.ISortedSet, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=24)]
override sealed Java.Util.ISpliterator? IIterable.Spliterator ();
[<Android.Runtime.Register("spliterator", "()Ljava/util/Spliterator;", "GetSpliteratorHandler:Java.Util.ISortedSet, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=24)>]
abstract member Java.Lang.IIterable.Spliterator : unit -> Java.Util.ISpliterator
override this.Java.Lang.IIterable.Spliterator : unit -> Java.Util.ISpliterator

Returns

a Spliterator over the elements in this sorted set

Implements

Attributes

Remarks

Creates a Spliterator over the elements in this sorted set.

The Spliterator reports Spliterator#DISTINCT, Spliterator#SORTED and Spliterator#ORDERED. Implementations should document the reporting of additional characteristic values.

The spliterator's comparator (see java.util.Spliterator#getComparator()) must be null if the sorted set's comparator (see #comparator()) is null. Otherwise, the spliterator's comparator must be the same as or impose the same total ordering as the sorted set's comparator.

Added in 1.8.

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