I - the type of the input streampublic class FlatMapToLongOperation<I> extends Object implements FlatMappingOperation<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() |
Stream<LongStream> |
map(Stream<I> iStream)
Instead of flat mapping this returns a stream of
OutputStream. |
io.reactivex.rxjava3.core.Flowable<Long> |
mapFlowable(io.reactivex.rxjava3.core.Flowable<I> input)
Performs the intermediate operation on a Flowable.
|
LongStream |
perform(Stream<I> stream)
Performs the actualy intermediate operation returning the resulting stream
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waithandleInjectionpublic FlatMapToLongOperation(Function<? super I,? extends LongStream> function)
public LongStream perform(Stream<I> stream)
IntermediateOperationperform in interface IntermediateOperation<I,Stream<I>,Long,LongStream>stream - the stream to have the operation performed onpublic Function<? super I,? extends LongStream> getFunction()
public Stream<LongStream> map(Stream<I> iStream)
FlatMappingOperationOutputStream.map in interface FlatMappingOperation<I,Stream<I>,Long,LongStream>iStream - the stream to convertpublic io.reactivex.rxjava3.core.Flowable<Long> mapFlowable(io.reactivex.rxjava3.core.Flowable<I> input)
IntermediateOperationmapFlowable in interface IntermediateOperation<I,Stream<I>,Long,LongStream>input - the input flowableCopyright © 2022 JBoss by Red Hat. All rights reserved.