Lots of documents have indicated the difference between Map and MutableMap in Kotlin, however, I can't seem to find the difference between HashMap and MutableMap. Can they be used interchangeably? Are there any differences in the implementation level of this 2 data structure? Can someone please elaborate.
正如人们所指出的,MutableMap是一个接口.那么当我使用 map 时,使用mutableMapOf和hashMapOf有什么不同呢?
Thanks.