Java theory and practice: Hashing it out (IBM developerWorks)
[Posted May 28, 2003 by cook]
Brian Goetz
writes about Java hashing techniques on IBM's developerWorks.
"
Every Java object has a hashCode() and an equals() method. Many classes override the default implementations of these methods to provide a higher degree of semantic comparability between object instances. In this installment of Java theory and practice, Java developer Brian Goetz shows you the rules and guidelines you should follow when creating Java classes in order to define hashCode() and equals() effectively and appropriately."
(
Log in to post comments)