sorted Set Of
Начиная с Kotlin: 1.0
fun <T> sortedSetOf(vararg elements: T): TreeSet<T>
Возвращает новый java.util.SortedSet с указанными элементами.
fun <T> sortedSetOf(comparator: Comparator<in T>, vararg elements: T): TreeSet<T>
Возвращает новый java.util.SortedSet с указанным компаратором и элементами.
© 2010–2026 JetBrains s.r.o. and Kotlin Programming Language contributors
Licensed under the Apache License, Version 2.0.
https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/sorted-set-of.html