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"));
| key |
the key to remove. |
|
true if the key was removed. |