https://kotlinlang.org logo
#announcements
Title
# announcements
j

Joshlemer

08/14/2019, 2:14 PM
Hey folks, I was wondering, what mechanism in Kotlin allows that
java.util.LinkedHashMap<Int,Int>
somehow implements
kotlin.collections.Map<Int,Int>
? Is there scala-style implicit conversion / wrapping going on?
Copy code
val lhm: kotlin.collections.Map<Int, Int> = java.util.LinkedHashMap()
l

louiscad

08/14/2019, 2:15 PM
I can tell you no wrapping is involved.
d

diesieben07

08/14/2019, 2:18 PM
j

Joshlemer

08/14/2019, 2:19 PM
damn that is brilliant, that's much more integrated into the host language than the scala collections are
K 6
3 Views