org.apache.commons.functor
Interface BinaryPredicate<L,R>
- Type Parameters:
- L- the left argument type.
- R- the right argument type.
- All Superinterfaces: 
- BinaryFunctor<L,R>, Functor
- All Known Implementing Classes: 
- BinaryAnd, BinaryFunctionBinaryPredicate, BinaryNot, BinaryOr, ConditionalBinaryPredicate, Constant, GeneratorContains, IgnoreLeftPredicate, IgnoreRightPredicate, IsElementOf, IsEqual, IsEquivalent, IsGreaterThan, IsGreaterThanOrEqual, IsInstance, IsLessThan, IsLessThanOrEqual, IsNotEqual, IsNotEquivalent, IsNotSame, IsSame, Limit, Offset, TransposedPredicate, UnaryCompositeBinaryPredicate
- public interface BinaryPredicate<L,R> 
- extends BinaryFunctor<L,R>
A functor that takes two arguments and returns a boolean value.
 
 Implementors are encouraged but not required to make their functors
 Serializable.
 
- Since:
- 1.0
- Version:
- $Revision: 1156735 $ $Date: 2011-08-11 20:57:48 +0200 (Thu, 11 Aug 2011) $
- Author:
- Rodney Waldhoff
| Method Summary | 
|  boolean | test(L left,
         R right)Evaluate this predicate.
 | 
 
 
test
boolean test(L left,
             R right)
- Evaluate this predicate.
 
- 
 
- 
- Parameters:
- left- the L element of the ordered pair of arguments
- right- the R element of the ordered pair of arguments
- Returns:
- the result of this test for the given arguments
 
Copyright © 2003-2011 The Apache Software Foundation. All Rights Reserved.