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.
getMapObject getMap(String mapID)
Returns the specified map.
getMapKeysString[] getMapKeys(String mapID)
Returns the object 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.
getValueObject getValue(Object map,String key)
Gets the value for the given key in the given map
putString put(String mapID, String key, String value)
Maps an object for a specified key in a specified map.
putObjectObject putObject(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.
removeObjectObject removeObject(String mapID, String key)
Removes a mapping for a specified key in a specified map.
sizeint size (String mapID)
Returns the number of mappings in the map specified by mapID.