All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class COM.objectspace.jgl.IdenticalTo

java.lang.Object
   |
   +----COM.objectspace.jgl.IdenticalTo

public final class IdenticalTo
extends Object
implements BinaryPredicate
IdenticalTo is a binary predicate that returns true if the first operand is exactly the same as the second operand using the standard Java == operator.

Version:
2.0.2
Author:
ObjectSpace, Inc.

Constructor Index

 o IdenticalTo()

Method Index

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

Constructors

 o IdenticalTo
 public IdenticalTo()

Methods

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

Parameters:
first - The first operand.
second - The second operand.
Returns:
true if the operands are the same object according to ==.

All Packages  Class Hierarchy  This Package  Previous  Next  Index