std:std.collections.Map<K,V>.Update
Updates the value associated with a key in the map.
If the map does not contain `key', nothing happens and false is returned.
If the map already contains key
, its associated value is updated and true is returned.
Parameters | |
---|---|
key |
key The key. |
value |
value The value. |