net.sf.staccatocommons.defs
Interface Evaluable2<A,B>

Type Parameters:
A - the type of the first argument
B - the type of the second argument
All Known Subinterfaces:
Predicate2<A,B>

@Applicative
public interface Evaluable2<A,B>

Evaluable2s are boolean conditions over two argument that can be tested using its eval(Object, Object) message.

Evaluable has the same semantics that an Applicable2 of Boolean return type, but is provided for ease of coding. Concrete implementors should implement Applicable2 as well.

Author:
flbulgarelli
See Also:
Recomendations for implementing, Evaluable

Method Summary
 boolean eval(A arg0, B arg1)
          Evaluates two argument.
 

Method Detail

eval

boolean eval(A arg0,
             B arg1)
Evaluates two argument. If the arguments evaluates to true they are said to satisfy or meet this condition.

Parameters:
arg0 - the first argument
arg1 - the second argument
Returns:
if the arguments meet this evaluable condition


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