Package java.util
Class HashMap
Description:
Returns the number of key value mappings in this map.
Example
HashMap map = new HashMap();
if (map.isEmpty())
Logger.log("This map is empty!");
The example above creates a new map, verifies that the map is empty and writes the result to the logger.