A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Programmer Certification (SCJP/OCPJP)
Joined: Nov 25, 2003
Dec 22, 2003 23:14:00
Can anyone explain the following statement on hashCode with an eg?
"Ideally, a hash funtion should distribute any reasonable collection of unequal instances uniformly across all possible hash values."
Joined: Dec 16, 2003
Dec 22, 2003 23:58:00
I think it's best to check the following article
it helped me understanding the necessary details.
Article on Equals and Hash Code
"Eppur si muove!"
I agree. Here's the link:
equals and hashcode methods
doubt regarding hashcode
hash collision avoid ?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015