Package java.util
Class HashSet

Public Method remove

boolean remove(Object o)

Overrides:

_INSERT_METHOD_SIGNATURE_HERE_

Description:

Removes the given element from this set if it is present.

Example

   HashSet set = new HashSet();
   set.add("value1");
   set.add("value2");

   set.remove("value2");
      Logger.log("set: " + set);

The example above removes the value2 string from the set.