jaggregate
Interface BinaryCondition<A1,A2>
- Type Parameters:
A1
- a constraint on the allowable types for the predicate's first argumentA2
- a constraint on the allowable types for the predicate's second argument
- All Known Implementing Classes:
- BinaryPredicate
public interface BinaryCondition<A1,A2>
Interface for a predicate that accepts two arguments.
This interface was extracted from BinaryPredicate
and methods
using it retrofitted to use this interface, to allow BGGA-style closures to be
converted to an interface type representing the predicate.
- Since:
- 3.3
- Version:
- $Id: BinaryCondition.java,v 1.3 2008/10/03 19:01:23 pholser Exp $
- Author:
- Paul Holser
Method Summary |
boolean |
matches(A1 first,
A2 second)
Evaluates this predicate against the given targets. |
matches
boolean matches(A1 first,
A2 second)
- Evaluates this predicate against the given targets.
- Parameters:
first
- first argument to the predicatesecond
- second argument to the predicate
- Returns:
- the result of the evaluation
© Copyright 2004-2008 Paul R. Holser, Jr. All rights reserved.
Licensed under the Academic Free License version 3.0.
pholser@alumni.rice.edu