How Java Helps
lJava provides method hashCode() of Object.
lThis gives a (generally large) number for any object.
lBy dividing the hash code by the hash table size, equivalence classes are thereby formed.
lAll objects with the same hash code modulo the table size are considered equivalent.
lJava also provides a class HashSet that can be used to implement find and remember.