I - the type of the input streamO - the type of the output streampublic class MapOperation<I,O> extends Object implements IntermediateOperation<I,Stream<I>,O,Stream<O>>
Stream| Constructor and Description |
|---|
MapOperation(Function<? 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
|
Stream<O> |
perform(Stream<I> stream)
Performs the actualy intermediate operation returning the resulting stream
|
public Stream<O> perform(Stream<I> stream)
IntermediateOperationpublic void handleInjection(ComponentRegistry registry)
IntermediateOperationhandleInjection in interface IntermediateOperation<I,Stream<I>,O,Stream<O>>registry - the registry to useCopyright © 2024 JBoss, a division of Red Hat. All rights reserved.