hi i am investigating kotlin and i stumbled upon s...
# announcements
m
hi i am investigating kotlin and i stumbled upon something i couldnt immediately answer myself...
hashMapOf()
returns an instance of
HashMap
, which is apparently a typealias for java.util.HashMap (according to
kotlin.collections.TypeAliases
) ... however, it can also be assigned to a variable of type
MutableMap
, but i could not find the the place where this relationship (MutableMap <--> HashMap) is established
­čĹŹ 1