Hi, Could someone provide me with an example of hashcode()? I need to get the hashcode for each attribute, sum them and rehash them. And, how does the equals() fit in here? Thanks, Naveen
William Brogden
Author and all-around good cowpoke
Rancher
Joined: Mar 22, 2000
Posts: 12269
1
posted
0
Every Java class has a hashCode() method - just call it for the String containing your attribute. Look at the source code for java.lang.String for an example. Bill