constructor Method
Construct a new OrderedSet
OrderedSet<T>(compare: OrderedComparator<T>, clone: CloneFunction<T>shallowClone): OrderedSet<T>
Parameter | Type | Description |
---|---|---|
compare | OrderedComparator<T> | The function used to compare elements within the set, determining their ordering. |
clone | CloneFunction<T> | The function invoked to clone a new element for insertion into the set. The default implementation simply returns its input. |
Returns - OrderedSet<T>
Defined in
- core/bentley/src/OrderedSet.ts Line 52
Last Updated: 17 December, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.