net.sf.staccatocommons.defs
Interface Applicable<T,R>

Type Parameters:
T - argument type
R - return type
All Known Subinterfaces:
Function<A,B>, Function2<A,B,C>, Function3<A,B,C,D>, Predicate<A>, Predicate2<A,B>

@Applicative
public interface Applicable<T,R>

Applicables are transformations that take one argument and have a return value, by implementing an apply(Object) method.

Author:
flbulgarelli
See Also:
Recomendations for implementing

Method Summary
 R apply(T arg)
          Performs a transformation on the given element, and returns its result.
 

Method Detail

apply

R apply(T arg)
Performs a transformation on the given element, and returns its result.

Parameters:
arg - the transformation
Returns:
the transformation result


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