org.apache.tapestry5.func

## Interface Mapper<S,T>

- 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.
  Since:
    5.2.0

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    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.

- - ### Method Detail

    - #### map

          T map(S element)

      Implemented in subclasses to map an element from the source flow to an element of the target flow.

5.6.0 - Copyright © 2003-2020 The Apache Software Foundation.