|
Scan the content of a hashtable |
|
|
The following code snippet shows how to scan content of a hashtable in Java.
Enumeration keys = hash.keys();
while( keys.hasMoreElements() ) {
Object key = keys.nextElement();
Object value = hash.get(key);
}
|
Related Tips
|