remove

public final V remove(K key)

Removes the entry for key if it exists.

Return

the previous value mapped by key.