std:std.collections.Map<K,V>.Update

Method Update:Bool( key:K,value:V )

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.