Package java.util
Class Hashtable
Description:
Removes the key from this hashtable. This method does nothing if the key is not in the hashtable.
Example
Hashtable hashTable = new Hashtable();
hashTable.put("1", "h");
hashTable.put("2", "a");
hashTable.put("3", "s");
hashTable.put("4", "h");
Set set = hashTable.keySet();
Logger.log("Set: "+ set);
hashTable.remove("2");
set = hashTable.keySet();
Logger.log("Set: "+ set);
The example above removes the specified element from the hashtable and writes the result to the logger.