remove

open override fun remove(key: K): V?

Removes the mapping for the specified key from the map.

Return

the previous value associated with the key, or null if there was no mapping

Parameters

key

the key whose mapping is to be removed