| Author |
equals() and hashcode()
|
maganti suryanarayana
Ranch Hand
Joined: Mar 30, 2010
Posts: 53
|
|
I have read equals and hashcode from kathy sierra and i understood that hashcode and equals for searching purpose. hashcode gives the correct bucket to searcha and equals to find out the correct object in the bucket.
I need more number of examples to understand and the topic is still blurred to me.
Thanks & Regards
surya
|
surya
|
 |
Aniket S. Kulkarni
Ranch Hand
Joined: Jun 15, 2011
Posts: 86
|
|
Try below links:
equals() hashCode()
equals() hashCode()
equals() hashCode()
|
Aniket Kulkarni
Oracle Certified Professional, Java SE 6 Programmer.
|
 |
maganti suryanarayana
Ranch Hand
Joined: Mar 30, 2010
Posts: 53
|
|
THANKS ANIKET
|
 |
Aniket S. Kulkarni
Ranch Hand
Joined: Jun 15, 2011
Posts: 86
|
|
|
It's my pleasure.
|
 |
 |
|
|
subject: equals() and hashcode()
|
|
|