| JGL - The Generic Collection Library for Java |
All Packages Class Hierarchy This Package Previous Next Index
Interface com.objectspace.jgl.BinaryPredicate
- public interface BinaryPredicate
- extends Serializable
BinaryPredicate is the interface that must be implemented by all binary predicate objects.
Every BinaryPredicate object must define a single method called execute() that takes
two objects as its arguments and returns a boolean. BinaryPredicate objects are often
built to operate on a specific kind of argument and must therefore cast the input
parameters in order to process them.
- See Also:
- BinaryFunction, UnaryFunction, UnaryPredicate
-
serialVersionUID
-
-
execute(Object, Object)
- Return the result of executing with two Object arguments.
serialVersionUID
public static final long serialVersionUID
execute
public abstract boolean execute(Object first,
Object second)
- Return the result of executing with two Object arguments.
- Parameters:
- first - The first object operand.
- second - The second object operand.
- Returns:
- The boolean result of processing the input parameters.
All Packages Class Hierarchy This Package Previous Next Index