954,506 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

HELP!!!

There anyone who can share me about HashMap.

ZER09
Light Poster
47 posts since Jul 2009
Reputation Points: 10
Solved Threads: 0
 

http://en.wikipedia.org/wiki/Hash_table

If you have specific questions ask them and someone will be happy to help, but if you're going to ask things like that, use google.

BestJewSinceJC
Posting Maven
2,772 posts since Sep 2008
Reputation Points: 874
Solved Threads: 354
 

what do you exactly need?...how a hash table works(theory)?...or the direct code?

UberJoker
Junior Poster in Training
75 posts since Oct 2009
Reputation Points: 13
Solved Threads: 6
 
what do you exactly need?...how a hash table works(theory)?...or the direct code?


I mean the direct code. Actually I was looking a best tutorial for this.

ZER09
Light Poster
47 posts since Jul 2009
Reputation Points: 10
Solved Threads: 0
 

I am pretty sure I cant do that. If you have at least some working code I can help you with the rest. your indexing function is probably the hardest part of the hashtable, rest is easy. There are various techniques to obtain your indexes,eg:chaining, linear probing, quadratic probing etc. so you might want to look into that.

UberJoker
Junior Poster in Training
75 posts since Oct 2009
Reputation Points: 13
Solved Threads: 6
 
I mean the direct code.

google "openjdk hashmap code"

Here's your code. http://www.docjar.com/html/api/java/util/HashMap.java.html

Rashakil Fol
Super Senior Demiposter
Team Colleague
2,658 posts since Jun 2005
Reputation Points: 1,135
Solved Threads: 177
 
I am pretty sure I cant do that. If you have at least some working code I can help you with the rest. your indexing function is probably the hardest part of the hashtable, rest is easy. There are various techniques to obtain your indexes,eg:chaining, linear probing, quadratic probing etc. so you might want to look into that.


I'am sorry I tought that HashMap is a kind of programing language but when I looked in Google it's not. its just a kind of data structures.
thnks.

ZER09
Light Poster
47 posts since Jul 2009
Reputation Points: 10
Solved Threads: 0
 

This question has already been solved

Post: Markdown Syntax: Formatting Help
You