zoltu
02/28/2016, 11:35 PMImmutableMap
in your Kotlin code and when you need to call a Java library you do something like, myImmutableMap.toJavaMap
. But you are still in the same position of the library probably really expects a Map
and you just have to hope that they don't call any write methods.