Util.HashMap

Description

Utility Functions for Maps

Functions

NameSignature and Synopsis
clearvoid clear (String mapID)
Clears the map specified by mapID.
createMapvoid createMap (String mapID)
Creates a new HashMap for the given mapID.
deleteMapvoid deleteMap (String mapID)
Deletes the HashMap for the given mapID.
getString get(String mapID, String key)
Returns the String for the specified key in the specified map.
getObjectObject getObject(String mapID, String key)
Returns the object for the specified key in the specified map.
getValuevoid getValue(Object map,String key)
Gets the value for the given key in the given map
putput(String mapID, String key, Object value)
Maps an object for a specified key in a specified map.
putObjectputObject(String mapID, String key, Object value)
Maps an object for a specified key in a specified map.
removeString remove (String mapID, String key)
Removes a mapping for a specified key in a specified map.
sizeString size (String mapID)
Returns the number of mappings in the map specified by mapID.