Package org.apache.tapestry5.func
Interface Mapper<S,T>
-
- Type Parameters:
S- type of source flowT- type of target (output) flow
public interface Mapper<S,T>
Interface for operationFlow.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.- Since:
- 5.2.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Tmap(S element)Implemented in subclasses to map an element from the source flow to an element of the target flow.
-