Salesforce B2C Commerce 23.6 > B2C Commerce API > B2C Commerce Script > dw.util
dw.util
Class LinkedHashSet
Object
dw.util.Collection
dw.util.Set
dw.util.LinkedHashSet
The class LinkedHashSet implements a hash set with a guaranteed iteration order. The elements are iterated in the order they have been added to the HashSet.
Constructor Summary
LinkedHashSet()
Constructs a new LinkHashSet.
LinkedHashSet(collection : Collection)
Constructor for a new LinkedHashSet.
Method Summary
clone() : LinkedHashSet
Returns a shallow copy of this set.
Methods inherited from class Collection
Methods inherited from class Object
Constructor Detail
LinkedHashSet
public LinkedHashSet()
Constructs a new LinkHashSet.

LinkedHashSet
public LinkedHashSet(collection : Collection)
Constructor for a new LinkedHashSet. The constructor initializes the LinkedHashSet with the elements of the given collection.
Parameters:
collection - the collection of items to insert into this set.

Method Detail
clone
clone() : LinkedHashSet
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.