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