Identity.equals
Class Overview | Class Members |
This Package |
All Packages
public final boolean equals( Object identity )
Parameters
- identity
- the object to test for equality with this identity.
Returns
true if the objects are considered equal, false otherwise.
Description
Tests for equality between the specified object and this identity.
This first tests to see if the entities actually refer to the same
object, in which case it returns true. Next, it checks to see if
the entities have the same name and the same scope. If they do,
the method returns true. Otherwise, it calls identityEquals, which subclasses should
override.
Overrides
equals in class Object
See Also
identityEquals