All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface javaParse.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.


Method Index

 o execute(Object, Object)
Return the result of executing with two Object arguments.

Methods

 o 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