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