clear


Description:

public void clear ()

Removes all elements from the set.

Example:

    var set = new HashSet<string> (GLib.str_hash, GLib.str_equal);
set.add ("a");
set.add ("b");
set.clear ();
assert (set.isEmpty ());