Spliterators.AbstractSpliterator.InterfaceConsts.Sorted Field

Definition

Caution

This constant will be removed in the future version. Use Java.Util.SpliteratorCharacteristics enum directly instead of this field.

Characteristic value signifying that encounter order follows a defined sort order.

[Android.Runtime.Register("SORTED", ApiSince=24)]
[System.Obsolete("This constant will be removed in the future version. Use Java.Util.SpliteratorCharacteristics enum directly instead of this field.", true)]
public const Java.Util.SpliteratorCharacteristics Sorted = 4;
[<Android.Runtime.Register("SORTED", ApiSince=24)>]
[<System.Obsolete("This constant will be removed in the future version. Use Java.Util.SpliteratorCharacteristics enum directly instead of this field.", true)>]
val mutable Sorted : Java.Util.SpliteratorCharacteristics

Field Value

Value = 4
Attributes

Remarks

Characteristic value signifying that encounter order follows a defined sort order. If so, method #getComparator() returns the associated Comparator, or null if all elements are Comparable and are sorted by their natural ordering.

A Spliterator that reports SORTED must also report ORDERED.

Java documentation for java.util.Spliterator.SORTED.

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