Package java.util
Class Hashtable
Description:
Returns an enumeration of the values in this hashtable. Use the enumeration methods on the returned object to fetch the element sequentially.
Example
Hashtable hashTable = new Hashtable();
hashTable.put("1", "h");
hashTable.put("2", "a");
hashTable.put("3", "s");
hashTable.put("4", "h");
Enumeration enum = hashTable.elements();
while (enum.hasMoreElements())
Logger.log("element: " + enum.nextElement());
The example above returns the elements from the hashtable and writs the result to the logger.