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