std:std.collections.Map<K,V>.Add
Adds a new key/value pair to a map.
If the map does not contain `key', a new key/value node is created and true is returned.
If the map already contains key
, nothing happens and false is returned.
Parameters | |
---|---|
key |
key The key. |
value |
value The value. |