org.qi4j.api.util
Interface Function<From,To>

Type Parameters:
From -
To -
All Known Implementing Classes:
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


Method Summary
 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