I
- the type of the input streampublic class FlatMapToLongOperation<I> extends Object implements IntermediateOperation<I,Stream<I>,Long,LongStream>
Stream
Constructor and Description |
---|
FlatMapToLongOperation(Function<? super I,? extends LongStream> function) |
Modifier and Type | Method and Description |
---|---|
Function<? super I,? extends LongStream> |
getFunction() |
LongStream |
perform(Stream<I> stream)
Performs the actualy intermediate operation returning the resulting stream
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
handleInjection
public FlatMapToLongOperation(Function<? super I,? extends LongStream> function)
public LongStream perform(Stream<I> stream)
IntermediateOperation
perform
in interface IntermediateOperation<I,Stream<I>,Long,LongStream>
stream
- the stream to have the operation performed onpublic Function<? super I,? extends LongStream> getFunction()
Copyright © 2023 JBoss, a division of Red Hat. All rights reserved.