aspose file tools
The moose likes Java in General and the fly likes hashcode algorithms.. Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Java in General
Reply Bookmark "hashcode algorithms.." Watch "hashcode algorithms.." New topic
Author

hashcode algorithms..

ani pillai
Greenhorn

Joined: Feb 22, 2009
Posts: 12


I was wondering if there is a good article/tutorial online that can explain how to approach the logic to override the hashcode method.

Kuldeep Tewari
Ranch Hand

Joined: May 22, 2006
Posts: 35
Check this out.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 35252
    
    7
Wirth's classic book Algorithms and Data structures has a chapter that presents and analyzes various hashing techniques. It's linked in the http://faq.javaranch.com/java/HereYouWillFindLinksToFreeStuff page.


Android appsImageJ pluginsJava web charts
Clyde DeSouza
Greenhorn

Joined: Mar 16, 2009
Posts: 26
I was wondering if there is a good article/tutorial online that can explain how to approach the logic to override the hashcode method.


As you required Online article you could read what Kuldeep has provided aafter that try to understand an easy example
http://www.idevelopment.info/data/Programming/java/object_oriented_techniques/HashCodeExample.java
that would help you more than .pdf documents
iff you require pdf for Algorithms and Data structures you could find hundreds of books on if searched google , i guess you understood it no need to specify explicity how to acquire those books which is not allowed in this forum.
James Mathews
Greenhorn

Joined: Mar 16, 2009
Posts: 7
Wirth's classic book Algorithms and Data structure excellent book thanks a lot Ulf!!!1
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: hashcode algorithms..
 
Similar Threads
what is hashcode and equals contract?
need help with the space-time continium
Practice Question
hash code
basicjava