org.qi4j.functional
Interface Function2<First,Second,To>


public interface Function2<First,Second,To>

Generic function interface to map from two parameters to a third. This can be used with the Iterables methods to transform lists of objects.


Method Summary
 To map(First first, Second second)
          Map a single item from one type to another
 

Method Detail

map

To map(First first,
       Second second)
Map a single item from one type to another

Parameters:
first -
second -
Returns:
the mapped item