Spliterators.AbstractSpliterator

public static abstract class Spliterators.AbstractSpliterator extends Object
implements Spliterator<T>

An abstract Spliterator that implements trySplit to permit limited parallelism.

An extending class need only implement tryAdvance. The extending class should override forEach if it can provide a more performant implementation.

Inherited Constant Summary

Protected Constructor Summary

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

Public Method Summary

int