Taal

Spliterators.AbstractSpliterator.Characteristics Method

Definition

Returns a set of characteristics of this Spliterator and its elements.

[Android.Runtime.Register("characteristics", "()I", "GetCharacteristicsHandler", ApiSince=24)]
public virtual Java.Util.SpliteratorCharacteristics Characteristics();
[<Android.Runtime.Register("characteristics", "()I", "GetCharacteristicsHandler", ApiSince=24)>]
abstract member Characteristics : unit -> Java.Util.SpliteratorCharacteristics
override this.Characteristics : unit -> Java.Util.SpliteratorCharacteristics

Returns

a representation of characteristics

Implements

Attributes

Remarks

Returns a set of characteristics of this Spliterator and its elements. The result is represented as ORed values from Spliterator.ORDERED, Spliterator.DISTINCT, Spliterator.SORTED, Spliterator.SIZED, Spliterator.NONNULL, Spliterator.IMMUTABLE, Spliterator.CONCURRENT, Spliterator.SUBSIZED. Repeated calls to characteristics() on a given spliterator, prior to or in-between calls to trySplit, should always return the same result. If a Spliterator reports an inconsistent set of characteristics (either those returned from a single invocation or across multiple invocations), no guarantees can be made about any computation using this Spliterator.

Java documentation for java.util.Spliterators.AbstractSpliterator.characteristics().

Java reference for java.util.Spliterators.AbstractSpliterator.characteristics.

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