R
- the type of the output streampublic class MapToObjDoubleOperation<R> extends Object implements MappingOperation<Double,DoubleStream,R,Stream<R>>
DoubleStream
Constructor and Description |
---|
MapToObjDoubleOperation(DoubleFunction<? extends R> function) |
Modifier and Type | Method and Description |
---|---|
DoubleFunction<? extends R> |
getFunction() |
io.reactivex.rxjava3.core.Flowable<R> |
mapFlowable(io.reactivex.rxjava3.core.Flowable<Double> input)
Performs the intermediate operation on a Flowable.
|
Stream<R> |
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 MapToObjDoubleOperation(DoubleFunction<? extends R> function)
public Stream<R> perform(DoubleStream stream)
IntermediateOperation
perform
in interface IntermediateOperation<Double,DoubleStream,R,Stream<R>>
stream
- the stream to have the operation performed onpublic DoubleFunction<? extends R> getFunction()
public io.reactivex.rxjava3.core.Flowable<R> mapFlowable(io.reactivex.rxjava3.core.Flowable<Double> input)
IntermediateOperation
mapFlowable
in interface IntermediateOperation<Double,DoubleStream,R,Stream<R>>
input
- the input flowableCopyright © 2021 JBoss by Red Hat. All rights reserved.