All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface com.sgi.sysadm.util.BinaryPredicate

public interface BinaryPredicate
Interface that represents a function object: a predicate that returns true or false depending on some binary operation involving the arguments. Examples include equality tests and comparison functions.

See Also:
Sort

Method Index

 o apply(Object, Object)
Tests whether or not the arguments satisfy some condition.

Methods

 o apply
 public abstract boolean apply(Object x,
                               Object y)
Tests whether or not the arguments satisfy some condition.

Parameters:
x - First argument
y - Second argument
Returns:
Result of the binary operation.

All Packages  Class Hierarchy  This Package  Previous  Next  Index