Hey folks, I was wondering, what mechanism in Kotl...
# announcements
j
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
I can tell you no wrapping is involved.
d
j
damn that is brilliant, that's much more integrated into the host language than the scala collections are
K 6