dw.util
Class HashSet
Object
dw.util.Collection
dw.util.Set
dw.util.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.
Methods inherited from class Collection
Methods inherited from class Object
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.