remove


Description:

public bool remove (K key)

Removes the entry with the specified key. Returns true if the key was found and removed.

Example:

    var map = new HashMap<string,string> (GLib.str_hash, GLib.str_equal);
map.put ("key", "value");
assert (map.remove ("key"));
assert (!map.containsKey ("key"));

Parameters:

key

the key to remove.

Returns:

true if the key was removed.