I
- the type of the input streampublic class MapToDoubleOperation<I> extends Object implements MappingOperation<I,Stream<I>,Double,DoubleStream>
Stream
Constructor and Description |
---|
MapToDoubleOperation(ToDoubleFunction<? super I> function) |
Modifier and Type | Method and Description |
---|---|
ToDoubleFunction<? super I> |
getFunction() |
io.reactivex.rxjava3.core.Flowable<Double> |
mapFlowable(io.reactivex.rxjava3.core.Flowable<I> input)
Performs the intermediate operation on a Flowable.
|
DoubleStream |
perform(Stream<I> stream)
Performs the actualy intermediate operation returning the resulting stream
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
handleInjection
public MapToDoubleOperation(ToDoubleFunction<? super I> function)
public DoubleStream perform(Stream<I> stream)
IntermediateOperation
perform
in interface IntermediateOperation<I,Stream<I>,Double,DoubleStream>
stream
- the stream to have the operation performed onpublic ToDoubleFunction<? super I> getFunction()
public io.reactivex.rxjava3.core.Flowable<Double> mapFlowable(io.reactivex.rxjava3.core.Flowable<I> input)
IntermediateOperation
mapFlowable
in interface IntermediateOperation<I,Stream<I>,Double,DoubleStream>
input
- the input flowableCopyright © 2021 JBoss by Red Hat. All rights reserved.