How to implement HashTable without the use of Collections Package?
Hi,I have a doubt of implementing Hashtable without using Collections Pacakge.I do also need some inputs on Datastructures and implentation in Java
> Hey i am not bothered about the answer in the> interview.> I want a give a look into this.Okay great.Well for your own use then, don't do this. Why waste your time and money reimplementing a hash table when Sun have already provided not one but two?
> Hey i am not bothered about the answer in the
> interview.
> I want a give a look into this.
> Now this is of my own intrest.
So look at the source for Hashtable and HashMap, as well as the source for the collections stuff that they use and see how it was done.
The source is in src.zip in the JDK download.
jverda at 2007-7-12 20:40:21 >

Or go out and buy Bob Sedgewick's book on Data Structures, Java edition, or if you really want to learn something go get Knuth, Art of Computer Programming, volumes I and III.
ejpa at 2007-7-12 20:40:21 >
