hasCharacteristics

open fun hasCharacteristics(characteristics: Int): Boolean

Returns true if this Spliterator's characteristics contain all of the given characteristics.

Default implementation checks if the corresponding bits are set.

Return

true if all specified characteristics are present, else false.

Parameters

characteristics

The characteristics to check for.