Object replace ( Object map ,Object key ,Object value )Object replace ( Object map ,Object key ,Object value )| Name | Type | Description |
|---|---|---|
map | Object | The concurrent map object |
key | Object | key with which the specified value is to be associated. |
value | Object | value to be associated with the specified key. |
| Type | Description |
|---|---|
Object | true if the value was replaced, false otherwise . |