HashMap.remove

Removes the mapping for the specified key from this map if present.

@param key key whose mapping is to be removed from the map @return the previous value associated with <tt>key</tt>, or <tt>null</tt> if there was no mapping for <tt>key</tt>. (A <tt>null</tt> return can also indicate that the map previously associated <tt>null</tt> with <tt>key</tt>.)

  1. V remove(K key)
    class HashMap(K, V)
    override
    V
    remove
    (
    K key
    )
  2. alias remove = AbstractMap!(K, V).remove

Meta