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