org.qi4j.functional

## Interface Function<From,To>

- Type Parameters:
    `From` -
    `To` -
  All Known Implementing Classes:
    AssociationFunction, ManyAssociationFunction, Model2XML, NamedAssociationFunction, PropertyFunction, Transforms.ByteBuffer2String, Transforms.Counter, Transforms.Log, Transforms.ObjectToString, Transforms.ProgressLog, Transforms.String2Bytes

      public interface Function<From,To>

  Generic function interface to map from one type to another. This can be used with the Iterables methods to transform lists of objects.

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `To` | `map(From from)` Map a single item from one type to another

- - ### Method Detail

    - #### map

          To map(From from)

      Map a single item from one type to another
      Parameters:
        `from` - the input item
      Returns:
        the mapped item