Spliterator.OfInt that implements
permit limited parallelism.
To implement a spliterator an extending class need only
tryAdvance}. The extending class should override
forEachRemaining(java.util.function.IntConsumer) forEach} if it
can provide a more performant implementation.
Inherited Constant Summary
|int||CONCURRENT||Characteristic value signifying that the element source may be safely concurrently modified (allowing additions, replacements, and/or removals) by multiple threads without external synchronization.|
|int||DISTINCT||Characteristic value signifying that, for each pair of
|int||IMMUTABLE||Characteristic value signifying that the element source cannot be structurally modified; that is, elements cannot be added, replaced, or removed, so such changes cannot occur during traversal.|
|int||NONNULL||Characteristic value signifying that the source guarantees that
encountered elements will not be
|int||ORDERED||Characteristic value signifying that an encounter order is defined for elements.|
|int||SIZED||Characteristic value signifying that the value returned from
|int||SORTED||Characteristic value signifying that encounter order follows a defined sort order.|
|int||SUBSIZED||Characteristic value signifying that all Spliterators resulting from
Protected Constructor Summary
Spliterators.AbstractIntSpliterator(long est, int additionalCharacteristics)
Creates a spliterator reporting the given estimated size and characteristics.