Package java.util
Class Hashtable

Public Method isEmpty

boolean isEmpty()

Overrides:

_INSERT_METHOD_SIGNATURE_HERE_

Description:

Tests if this hashtable maps no keys to values.

Example

   Hashtable hashTable = new Hashtable();
   hashTable.put("1", "h");
   hashTable.put("2", "a");
   hashTable.put("3", "s");
   hashTable.put("4", "h");

   Logger.log("is the hash table empty: " + hashTable.isEmpty());

The example above writes the result of the isEmptry() method to the logger.