I
- the type of the input streamO
- the type of the output streampublic class MapOperation<I,O> extends Object implements MappingOperation<I,Stream<I>,O,Stream<O>>
Stream
Constructor and Description |
---|
MapOperation(Function<? super I,? extends O> function) |
MapOperation(SerializableFunction<? super I,? extends O> function) |
Modifier and Type | Method and Description |
---|---|
Function<? super I,? extends O> |
getFunction() |
void |
handleInjection(ComponentRegistry registry)
Handles injection of components for various dependencies that the intermediate operation has
|
io.reactivex.rxjava3.core.Flowable<O> |
mapFlowable(io.reactivex.rxjava3.core.Flowable<I> input)
Performs the intermediate operation on a Flowable.
|
Stream<O> |
perform(Stream<I> stream)
Performs the actualy intermediate operation returning the resulting stream
|
public MapOperation(SerializableFunction<? super I,? extends O> function)
public Stream<O> perform(Stream<I> stream)
IntermediateOperation
public void handleInjection(ComponentRegistry registry)
IntermediateOperation
handleInjection
in interface IntermediateOperation<I,Stream<I>,O,Stream<O>>
registry
- the registry to usepublic io.reactivex.rxjava3.core.Flowable<O> mapFlowable(io.reactivex.rxjava3.core.Flowable<I> input)
IntermediateOperation
mapFlowable
in interface IntermediateOperation<I,Stream<I>,O,Stream<O>>
input
- the input flowableCopyright © 2021 JBoss by Red Hat. All rights reserved.