Util.HashMap.getObject()
Signature
Object getObject(String mapID, String key)
Description
Returns the String for the specified key in the specified map.
If the map or the key is non-existent, returns null.
Parameters
Name | Type | Description |
mapID | String | The String ID of the map in which the lookup is to be performed. |
key | String | The String key for which the value will be retrieved. |
Returns
Type | Description |
Object | the value at key in the map of id mapID |
Example
Object result = HashMap.get ("MyMap", "MyKey");
Result is:
result contains: object.