• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Good Hash Anyone?

 
John James1us
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Does anyone know where I could get some code for Hash Tables? I would really love some simple examples, thankx.
 
John James1us
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have changed my name to John James1us to follow standards here, and I would still like to know if anyone has any code examples, thank you.
 
David O'Meara
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you're looking for the code for the Hashtable class, the source for the java classes is available as src.jar when you install the JDK.
If you are looking for code to generate a hash code for a given input, you should read Effective Java: Programming Language Guide by Joshua Bloch ( link is to the Javaranch Bunkhouse, Advanced Java section )
Then again, I recommend reading the book anyway - 10 horseshoes isn't for nothing.
[ June 16, 2002: Message edited by: David O'Meara ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic