Collections.Map.Concurrent.remove()

Signature

boolean remove ( Object map ,Object key ,Object value )

Domain

ACTION

Description

Remove entry for key only if currently mapped to given value. The action is performed atomically.

Parameters

NameTypeDescription
mapObjectThe concurrent map object
keyObjectkey with which the specified value is to be associated.
valueObjectvalue to be associated with the specified key.

Returns

TypeDescription
booleantrue if the value was removed, false otherwise .

Cautions

none