Salesforce B2C Commerce 23.6 > B2C Commerce API > B2C Commerce Script > dw.util
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.

X Privacy Update: We use cookies to make interactions with our websites and services easy and meaningful, to better understand how they are used. By continuing to use this site you are giving us your consent to do this. Privacy Policy.