public class FlatMapLongOperation extends Object implements FlatMappingOperation<Long,LongStream,Long,LongStream>
LongStream
Constructor and Description |
---|
FlatMapLongOperation(LongFunction<? extends LongStream> function) |
Modifier and Type | Method and Description |
---|---|
LongFunction<? extends LongStream> |
getFunction() |
Stream<LongStream> |
map(LongStream longStream)
Instead of flat mapping this returns a stream of
OutputStream . |
io.reactivex.rxjava3.core.Flowable<Long> |
mapFlowable(io.reactivex.rxjava3.core.Flowable<Long> input)
Performs the intermediate operation on a Flowable.
|
LongStream |
perform(LongStream stream)
Performs the actualy intermediate operation returning the resulting stream
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
handleInjection
public FlatMapLongOperation(LongFunction<? extends LongStream> function)
public LongStream perform(LongStream stream)
IntermediateOperation
perform
in interface IntermediateOperation<Long,LongStream,Long,LongStream>
stream
- the stream to have the operation performed onpublic LongFunction<? extends LongStream> getFunction()
public Stream<LongStream> map(LongStream longStream)
FlatMappingOperation
OutputStream
.map
in interface FlatMappingOperation<Long,LongStream,Long,LongStream>
longStream
- the stream to convertpublic io.reactivex.rxjava3.core.Flowable<Long> mapFlowable(io.reactivex.rxjava3.core.Flowable<Long> input)
IntermediateOperation
mapFlowable
in interface IntermediateOperation<Long,LongStream,Long,LongStream>
input
- the input flowableCopyright © 2021 JBoss by Red Hat. All rights reserved.