net.sf.staccatocommons.defs
Interface Applicable2<T1,T2,R>
- Type Parameters:
T1 - first argument typeT2 - second argument typeR - 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. |
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 argumentarg1 - the second transformation argument
- Returns:
- the transformation result