put
Associates the specified value with the specified key in this map. If the map previously contained a mapping for the key, the old value is replaced. This operation is performed atomically and is thread-safe.
Return
The previous value associated with key, or null if there was no mapping for key.
Parameters
key
The key with which the specified value is to be associated.
value
The value to be associated with the specified key.