All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class COM.objectspace.jgl.predicates.EqualTo

java.lang.Object
   |
   +----COM.objectspace.jgl.predicates.EqualTo

public final class EqualTo
extends Object
implements BinaryPredicate
EqualTo is a binary predicate that returns true if the first operand is equal to the second operand using the standard Java equals() method.

See Also:
NotEqualTo

Constructor Index

 o EqualTo()

Method Index

 o execute(Object, Object)
Compare two objects for equality.

Constructors

 o EqualTo
 public EqualTo()

Methods

 o execute
 public boolean execute(Object first,
                        Object second)
Compare two objects for equality.

Parameters:
first - The first operand.
second - The second operand.
Returns:
true if the operands are equal according to the standard Java equals() method.

All Packages  Class Hierarchy  This Package  Previous  Next  Index