I - the type of the input streampublic class FlatMapToDoubleOperation<I> extends Object implements FlatMappingOperation<I,Stream<I>,Double,DoubleStream>
Stream| Constructor and Description |
|---|
FlatMapToDoubleOperation(Function<? super I,? extends DoubleStream> function) |
| Modifier and Type | Method and Description |
|---|---|
Function<? super I,? extends DoubleStream> |
getFunction() |
Stream<DoubleStream> |
map(Stream<I> iStream)
Instead of flat mapping this returns a stream of
OutputStream. |
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, waithandleInjectionpublic FlatMapToDoubleOperation(Function<? super I,? extends DoubleStream> function)
public DoubleStream perform(Stream<I> stream)
IntermediateOperationperform in interface IntermediateOperation<I,Stream<I>,Double,DoubleStream>stream - the stream to have the operation performed onpublic Function<? super I,? extends DoubleStream> getFunction()
public Stream<DoubleStream> map(Stream<I> iStream)
FlatMappingOperationOutputStream.map in interface FlatMappingOperation<I,Stream<I>,Double,DoubleStream>iStream - the stream to convertpublic io.reactivex.rxjava3.core.Flowable<Double> mapFlowable(io.reactivex.rxjava3.core.Flowable<I> input)
IntermediateOperationmapFlowable in interface IntermediateOperation<I,Stream<I>,Double,DoubleStream>input - the input flowableCopyright © 2022 JBoss by Red Hat. All rights reserved.