Package java.util
Class HashSet
Description:
Removes all of the elements from this set. Implements interface method Set.clear.
Example
HashSet set = new HashSet();
set.add("value1");
set.add("value2");
Logger.log("set: " + set);
set.clear();
Logger.log("set: " + set);
The example above creates a new hash set and adds values to the set. Afterwards, the set is cleard.