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