All Packages Class Hierarchy This Package Previous Next Index
Interface jgl.BinaryPredicate
- public interface BinaryPredicate
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.
- Version:
- JOS-FileSystem 4 Preview (25-Mar-98)
- Author:
- ObjectSpace, Inc.
- See Also:
- jgl.BinaryFunction, jgl.UnaryPredicate
-
execute(Object, Object)
- Return the result of executing with two Object arguments.
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