SortedSet<T> constructor
- int _compare(
- T,
- T
Creates an empty SortedSet.
Optionally inject a compare function. If null, it assumes elements are Comparable.
Implementation
SortedSet([this._compare])
: _container = collection.SplayTreeSet<T>(_compare);