Spliterators.AbstractIntSpliterator

public static abstract class Spliterators.AbstractIntSpliterator extends Object
implements Spliterator.OfInt

An abstract Spliterator.OfInt that implements trySplit to permit limited parallelism.

To implement a spliterator an extending class need only implement tryAdvance(java.util.function.IntConsumer) tryAdvance}. The extending class should override forEachRemaining(java.util.function.IntConsumer) forEach} if it can provide a more performant implementation.

Inherited Constant Summary

Protected Constructor Summary

Spliterators.AbstractIntSpliterator(long est, int additionalCharacteristics)
Creates a spliterator reporting the given estimated size and characteristics.

Public Method Summary