Join Slack
Powered by
is there a kotlin conccurent set? kinda only find ...
# announcements
j
Jan
07/26/2019, 12:44 PM
is there a kotlin conccurent set? kinda only find java ones
k
kralli
07/26/2019, 12:49 PM
There is none. Kotlin does not provide own implementations of collections, excepts for corner cases like
emptyList()
and the new immutable lists.
s
Stephan Schroeder
07/26/2019, 12:49 PM
nothing wrong with using the java ones from kotlin.
j
jw
07/26/2019, 1:12 PM
unless you're multiplatform. you could ask
https://github.com/touchlab/Stately
to provide one (cc
@kpgalligan
)
k
kpgalligan
07/26/2019, 1:14 PM
https://github.com/touchlab/Stately/blob/master/stately-collections/src/commonMain/kotlin/co/touchlab/stately/collections/Functions.kt#L35
kpgalligan
07/26/2019, 1:15 PM
These will all get a refresh with 1.3.50 and “relaxed mode”, most likely, and they won’t win any benchmarks, but if you need it…
j
jw
07/26/2019, 1:16 PM
Ah, nice. Was just going off of the readme contents.
k
kpgalligan
07/26/2019, 1:17 PM
Interesting. Not there. They really need an update.
Open in Slack
Previous
Next