remove


Description:

public bool remove (T element)

Removes an element from the set.

Example:

    var set = new HashSet<string> (GLib.str_hash, GLib.str_equal);
set.add ("apple");
assert (set.remove ("apple"));
assert (!set.remove ("apple"));

Parameters:

element

the element to remove.

Returns:

true if the element was removed, false if not found.