Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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
`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.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2003-2012 The Apache Software Foundation.