remove

open fun remove(key: Long): V

Removes the value associated with the given key and returns it.

Return

the value corresponding to the key, or null if the key is not in the map

Parameters

key

the key to remove