Implementation of Java hashtables
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Shahmil_Merchant
Posted On:   Thursday, August 8, 2002 07:15 AM

How does one pass references to objects in a hashtable.I have a vector of values for each key and would ideal like to store a reference to the vector as the value in the hashtable,so that i dont have to store the same value twice.
Any help would be appreciated.

Re: Implementation of Java hashtables

Posted By:   Lunkwill_Vroomfondel  
Posted On:   Thursday, August 8, 2002 07:22 AM


Vector v=new Vector();
Hashtable hs=new Hashtable();
hs.put("key", v);
About | Sitemap | Contact