class SortableSet extends Set<T>
A subset of Set that offers sorting functionality
new SortableSet(values?): SortableSet<T>
Attributes
values:
readonly T[] | nullReturns:
SortableSet<T>new SortableSet(iterable?): SortableSet<T>
Attributes
Returns:
SortableSet<T>sortableSet.getFromCache(fn): R
Attributes
fn:
(set: SortableSet<T>) => RReturns:
RGet data from cache
sortableSet.getFromUnorderedCache(fn): R
Attributes
fn:
(set: SortableSet<T>) => RReturns:
RGet data from cache (ignoring sorting)
sortableSet.sort(): SortableSet<T>
Returns:
SortableSet<T>sortableSet.sortWith(sortFn?): void
Attributes
sortFn:
SortFunction<T>Sort with a comparer function
sortableSet.toJSON(): T[]
Returns:
T[]Returns the raw array.