Package java.util
Class HashMap
Description:
Returns the number of key value mappings in this map.
Example
HashMap map = new HashMap();
Integer i = new Integer(0);
map.put(i, "value");
Logger.log("map size: " + map.size());
The example above returns the number key values.