This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Java in General and the fly likes internal working of Hashmap and hashtable Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "internal working of Hashmap and hashtable" Watch "internal working of Hashmap and hashtable" New topic
Author

internal working of Hashmap and hashtable

anish jain
Ranch Hand

Joined: Feb 03, 2010
Posts: 129
I want to know how HashMap/Hashtable internally works.

Could you please suggest me some link which is easy to understand?
Wouter Oet
Saloon Keeper

Joined: Oct 25, 2008
Posts: 2700

I'm sure that there is a page explaining it but you could try to figure it out yourself by looking at the source code.


"Any fool can write code that a computer can understand. Good programmers write code that humans can understand." --- Martin Fowler
Please correct my English.
Seetharaman Venkatasamy
Ranch Hand

Joined: Jan 28, 2008
Posts: 5575

http://en.wikipedia.org/wiki/Hash_function
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: internal working of Hashmap and hashtable
 
Similar Threads
Hashtables are synchronized...
Hashtable vs HashMap
HashMap vs. Hashtable
Can't develop logic
HashMap or HashTable