remove

fun remove(key: K)

Removes the specified key and its associated value from the map.


fun remove(key: K, value: Float): Boolean

Removes the specified key and its associated value from the map if the associated value equals value. Returns whether the removal happened.