The abstract supertype of all types with a well-defined
notion of identity. Values of type Identifiable
may be
compared using the ===
operator to determine if they are
references to the same object instance.
For the sake of convenience, this interface defines a default implementation of value equality equivalent to identity. Of course, subtypes are encouraged to refine this implementation.
no type hierarchy
no supertypes hierarchy
Attributes | |
hash | Source Codeshared actual default Integer hash The system-defined identity hash value
of this instance. Subtypes which refine See also identityHash() Refines Object.hash |
Inherited Attributes |
Attributes inherited from: Object |
Methods | |
equals | Source Codeshared actual default Boolean equals(Object that) Identity equality comparing the identity of the two
values. May be refined by subtypes for which value
equality is more appropriate. Implementations must
respect the constraint that if Refines Object.equals |
Inherited Methods |
Methods inherited from: Object |