Stylianos Gakis
09/24/2021, 6:37 PMkotlin.collections.LinkedHashMap
, and I would like to see how the functions are actually implemented for my platform, but I can’t find a way to do that in the IDE. Any help?Oliver.O
09/24/2021, 8:01 PMJetBrains/kotlin
repository with the IDE, of which stdlib is a part. Therein navigation from expect to actual works as usual. The project is quite big, requires setting up environment variables and takes a while to build and index though.
On the JVM side, you'll find the collections below while there are complete Kotlin implementations for JS.
@SinceKotlin("1.1") public actual typealias ArrayList<E> = java.util.ArrayList<E>
@SinceKotlin("1.1") public actual typealias LinkedHashMap<K, V> = java.util.LinkedHashMap<K, V>
@SinceKotlin("1.1") public actual typealias HashMap<K, V> = java.util.HashMap<K, V>
@SinceKotlin("1.1") public actual typealias LinkedHashSet<E> = java.util.LinkedHashSet<E>
@SinceKotlin("1.1") public actual typealias HashSet<E> = java.util.HashSet<E>
Stylianos Gakis
09/24/2021, 8:13 PMOliver.O
09/24/2021, 8:39 PM