public abstract class BaseComposableSpliterator<T,R,X extends java.util.Spliterator<?>> extends java.util.Spliterators.AbstractSpliterator<R> implements ComposableFunction<R,T,X>
| Modifier | Constructor and Description |
|---|---|
protected |
BaseComposableSpliterator(long est,
int additionalCharacteristics,
java.util.function.Function<? super T,? extends R> fn)
Creates a spliterator reporting the given estimated size and
additionalCharacteristics.
|
| Modifier and Type | Method and Description |
|---|---|
<R2> X |
compose(java.util.function.Function<? super R,? extends R2> after) |
characteristics, estimateSize, trySplitprotected BaseComposableSpliterator(long est,
int additionalCharacteristics,
java.util.function.Function<? super T,? extends R> fn)
est - the estimated size of this spliterator if known, otherwise
Long.MAX_VALUE.additionalCharacteristics - properties of this spliterator's
source or elements. If SIZED is reported transform this
spliterator will additionally report SUBSIZED.