Skip to main content

Hash functions

1 reply [Last post]
Anonymous

Hi,
Has anybody had experience of using Hash function in java?
Can someone point me in the direction of of java libraries to use for this?
Thanks,
Blueshark

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
javaprofession
Offline
Joined: 2010-12-05

Funny you ask...I just started a blog and one of my first entries is on the HashMap Keys.
Check it out. I discuss creating keys for a HashMap and how you should override the hashCode and equals method.
http://www.javaprofession.com/2010/12/part-1-hashmap-keys_128.html
I literally just started the blog today. Part 2 will dive into more detail about hashCode and equals.