S - type of source flowT - type of target (output) flowpublic interface Mapper<S,T>
Flow.map(Mapper) to define how Flow elements are mapped from one type
to another (or otherwise transformed).
This changed in 5.3 from an abstract base class to an interface.| Modifier and Type | Method and Description |
|---|---|
T |
map(S element)
Implemented in subclasses to map an element from the source flow to an element of the target
flow.
|
5.6.4 - Copyright © 2003-2021 The Apache Software Foundation.