Collections.Map.remove()

Signature

Object remove ( Object map, Object key )

Domain

ACTION

Description

Removes the mapping for a key from this map if it is present.

Parameters

NameTypeDescription
mapObjectThe map object
keyObjectKey whose mapping is to be removed from the map

Returns

TypeDescription
ObjectThe previous value associated with key, or null if there was no mapping for key.

Cautions

none