Util.HashMap.get()
Signature
String get(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 |
String | the value at key in the map of id mapID |
Example
String result = HashMap.get ("MyMap", "MyKey");
Result is:
result contains: object.