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