it looks like kotlin stdlib does not have anything...
# multiplatform
j
it looks like kotlin stdlib does not have anything similar to java's SortedSet, am I missing anything?
e
you're not missing anything, it's currently JVM-only (Kotlin's `sortedSetOf()`/`.toSortedSet()` return
java.util.SortedSet
, not
kotlin.collections.*
). https://youtrack.jetbrains.com/issue/KT-38356/Add-SortedMap-to-common-standard-library
1
all the default collections are order-preserving, that's not what
sortedSetOf()
does (in response to Norbi's now deleted comment)
👍🏻 1