Spliterator.Ordered Field
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Caution
This constant will be removed in the future version. Use Java.Util.SpliteratorCharacteristics enum directly instead of this field.
Characteristic value signifying that an encounter order is defined for elements.
[Android.Runtime.Register("ORDERED", 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 Ordered = 16;
[<Android.Runtime.Register("ORDERED", 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 Ordered : Java.Util.SpliteratorCharacteristics
Field Value
Value = 16- Attributes
Remarks
Characteristic value signifying that an encounter order is defined for elements. If so, this Spliterator guarantees that method #trySplit
splits a strict prefix of elements, that method #tryAdvance
steps by one element in prefix order, and that #forEachRemaining
performs actions in encounter order.
A Collection
has an encounter order if the corresponding Collection#iterator
documents an order. If so, the encounter order is the same as the documented order. Otherwise, a collection does not have an encounter order.
Java documentation for java.util.Spliterator.ORDERED
.
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.