E_IN
- type of elements in the upstream sourcepublic abstract static class IntPipeline.StatelessOp<E_IN> extends IntPipeline<E_IN>
IntPipeline.Head<E_IN>, IntPipeline.StatefulOp<E_IN>, IntPipeline.StatelessOp<E_IN>
IntStream.Builder
sourceOrOpFlags
Constructor and Description |
---|
StatelessOp(AbstractPipeline<?,E_IN,?> upstream,
StreamShape inputShape,
int opFlags)
Construct a new IntStream by appending a stateless intermediate
operation to an existing stream.
|
Modifier and Type | Method and Description |
---|---|
boolean |
opIsStateful()
Returns whether this operation is stateful or not.
|
allMatch, anyMatch, asDoubleStream, asLongStream, average, boxed, collect, count, distinct, evaluateToNode, filter, findAny, findFirst, flatMap, forEach, forEachOrdered, forEachWithCancel, getOutputShape, iterator, lazySpliterator, limit, makeNodeBuilder, map, mapToDouble, mapToLong, mapToObj, max, min, noneMatch, peek, reduce, reduce, skip, sorted, spliterator, sum, summaryStatistics, toArray, unordered, wrap
close, evaluate, evaluateToArrayNode, getStreamAndOpFlags, getStreamFlags, isParallel, onClose, opEvaluateParallel, opEvaluateParallelLazy, opWrapSink, parallel, sequential, wrapSink
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
builder, concat, empty, generate, iterate, of, of, parallel, range, rangeClosed, sequential
close, isParallel, onClose
public StatelessOp(AbstractPipeline<?,E_IN,?> upstream, StreamShape inputShape, int opFlags)
upstream
- The upstream pipeline stageinputShape
- The stream shape for the upstream pipeline stageopFlags
- Operation flags for the new stagepublic final boolean opIsStateful()
AbstractPipeline
AbstractPipeline.opEvaluateParallel(PipelineHelper, java.util.Spliterator, java.util.function.IntFunction)
must be overridden.opIsStateful
in class AbstractPipeline<E_IN,Integer,IntStream>
true
if this operation is stateful