Returns true
if x
and y
are equivalent, false
otherwise.
Returns true
if x
and y
are equivalent, false
otherwise.
Returns the hash code of the given object under this hashing scheme.
Returns false
if x
and y
are equivalent, true
otherwise.
Returns false
if x
and y
are equivalent, true
otherwise.
A type class used to represent a hashing scheme for objects of a given type. For any two instances
x
andy
that are considered equivalent under the equivalence relation defined by this object,hash(x)
should equalhash(y)
.