Class HashSet
dw.util
Class HashSet
Represents a HashSet
Constructor Summary
HashSet()
Constructs a new HashMap.
HashSet(collection : Collection)
Construct a new HashSet by initializing the HashSet with the elements of the given collection.
Method Summary
clone() : HashSet
Returns a shallow copy of this set.
Constructor Detail
HashSet
public HashSet()
Constructs a new HashMap.

HashSet
public HashSet(collection : Collection)
Construct a new HashSet by initializing the HashSet with the elements of the given collection.
Parameters:
collection - the collection to add to the set.

Method Detail
clone
clone() : HashSet
Returns a shallow copy of this set.
Returns:
a shallow copy of this set.