kotlin.collections.Map
Map
interface Map<K, out V>
A collection that holds pairs of objects (keys and values) and supports efficiently retrieving the value corresponding to each key. Map keys are unique; the map holds only one value for each key. Methods in this interface support only read-only access to the map; read-write access is supported through the MutableMap interface.
Parameters
K
- the type of map keys. The map is invariant on its key type, as it can accept key as a parameter (of 登录查看完整内容