remove

Removes the mapping for a key from the specified associative array if it is present. More formally, if the associative array contains a mapping from key <tt>k</tt> to value <tt>v</tt> such that

(key==null ?  k==null : key.equals(k))
, that mapping is removed. (The associative array can contain at most one such mapping.)

Returns the value to which the associative array previously associated the key, or <tt>null</tt> if the map contained no mapping for the key.

V
remove
(
K
V
)
(
V[K] aa
,
K key
)

Parameters

aa V[K]

the associative array to remove the key/value pair from

key K

key whose mapping is to be removed from the associative array

Return Value

Type: V

Meta