- Type Parameters:
S- type of source flow
T- type of target (output) flow
public interface Mapper<S,T>Interface for operation
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.