function toSortedSet
source · line 28public
public fun <T> Iterable<T>.toSortedSet(comparator: Comparator<T>): SortedSet<T>
Extension receiver: Iterable<T>
Copies elements into a read-only ordered set using the selected ordering.
type parameter T
source · line 28public
T
parameter receiver
source · line 28public
Iterable<T>
parameter comparator
source · line 28public
comparator: Comparator<T>