|
The easiest, in my opinion, way is like this:
(*Chris*)
String key;
Hashtable hash = (already created and filled up by somthing else with
String keys for this example);
Enumeration enum = hash.keys();
while(enum.hasMoreElements()) {
key = (String)enum.nextElement();
System.out.println(key + " = \"" + hash.get(key) + '\"');
}
|
Title: Hashtable
- Hashtable Cote, Stephane
- Re: Hashtable Rishi Asthana
- Re: Hashtable Chris Pratt
- Re: Hashtable Danny Rubis
- Re: Hashtable Chuck Li
- HashTable Howard Hiew
- Re: HashTable kishore
- Re: HashTable Christopher K. St. John
- Re: HashTable Ade Permana
- Re: HashTable Howard Hiew
