net.sf.staccatocommons.defs
Interface Applicable2<T1,T2,R>

Type Parameters:
T1 - first argument type
T2 - second argument type
R - return type
All Known Subinterfaces:
Function2<A,B,C>, Function3<A,B,C,D>, Predicate2<A,B>

@Applicative
public interface Applicable2<T1,T2,R>

Applicable2s are transformations that take two arguments and have a return value, by implementing an apply(Object, Object) method

Author:
flbulgarelli
See Also:
Recomendations for implementing

Method Summary
 R apply(T1 arg0, T2 arg1)
          Performs a transformation on the given element, and returns its result.
 

Method Detail

apply

R apply(T1 arg0,
        T2 arg1)
Performs a transformation on the given element, and returns its result. This method should not have side effects

Parameters:
arg0 - the first transformation argument
arg1 - the second transformation argument
Returns:
the transformation result


Get Staccatocommons at SourceForge.net. Fast, secure and Free Open Source software downloads