constructor Method
Construct a new SortedArray
SortedArray(compare: OrderedComparator<T>, allowDuplicates: boolean = false, clone: CloneFunction<T> = shallowClone): SortedArray
Parameter | Type | Description |
---|---|---|
compare | OrderedComparator<T> | The function used to compare elements within the array. |
allowDuplicates | boolean | If true, multiple values comparing equal may exist in the array. |
clone | CloneFunction<T> | The function invoked to clone a new element for insertion into the array. The default implementation simply returns its input. |
Returns - SortedArray
Defined in
- core/bentley/src/SortedArray.ts Line 81
Last Updated: 13 June, 2024