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.
Attributes | |
hash | Source Code shared actual default Integer hash The system-defined identity hash value of the
instance. Subtypes which refine See also: identityHash Refined declaration: hash |
Inherited Attributes |
Attributes inherited from: Object |
Methods | |
equals | Source Code 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 Refined declaration: equals |