public class PeekLongOperation extends Object implements IntermediateOperation<Long,LongStream,Long,LongStream>
LongStream
Constructor and Description |
---|
PeekLongOperation(LongConsumer consumer) |
Modifier and Type | Method and Description |
---|---|
LongConsumer |
getConsumer() |
void |
handleInjection(ComponentRegistry registry)
Handles injection of components for various dependencies that the intermediate operation has
|
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
|
public PeekLongOperation(LongConsumer consumer)
public LongStream perform(LongStream stream)
IntermediateOperation
perform
in interface IntermediateOperation<Long,LongStream,Long,LongStream>
stream
- the stream to have the operation performed onpublic LongConsumer getConsumer()
public void handleInjection(ComponentRegistry registry)
IntermediateOperation
handleInjection
in interface IntermediateOperation<Long,LongStream,Long,LongStream>
registry
- the registry to usepublic 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.