kotlin.collections.sortedSetOf
sortedSetOf
fun <T> sortedSetOf(vararg elements: T): TreeSet<T>
Platform and version requirements: JVM
Returns a new SortedSet with the given elements.
fun <T> sortedSetOf( comparator: Comparator<in T>, vararg elements: T ): TreeSet<T>
Platform and version requirements: JVM
Returns a new SortedSet with the given 登录查看完整内容