Compares two objects for equality. This version only returns true
for x.equals(y)
if x
and y
refer
to the same object, and guarantees this for all subclasses.
obj | the reference object with which to compare. |
true
if this object is the same as the obj
argument; false
otherwise.
Diagram: CharacterIterator