Spliterators.AbstractLongSpliterator

public static abstract class Spliterators.AbstractLongSpliterator extends Object
implements Spliterator.OfLong

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

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

Inherited Constant Summary

Protected Constructor Summary

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

Public Method Summar