Hash Map
Hash table based implementation of the MutableMap interface.
This implementation makes no guarantees regarding the order of enumeration of keys, values and entries collections.
Constructors
Functions
Returns true
if the map maps one or more keys to the specified value.
Returns true
if the map maps one or more keys to the specified value.
Returns the value corresponding to the given key, or defaultValue if such a key is not present in the map.
Since Kotlin
Returns the value corresponding to the given key, or defaultValue if such a key is not present in the map.
Since Kotlin
Returns true
if the map is empty (contains no elements), false
otherwise.
Removes the specified key and its corresponding value from this map.
Removes the entry for the specified key only if it is mapped to the specified value.
Since Kotlin
Removes the specified key and its corresponding value from this map.
Removes the entry for the specified key only if it is mapped to the specified value.
Since Kotlin
Properties
Returns a MutableSet of all key/value pairs in this map.
Returns a MutableSet of all key/value pairs in this map.
Returns a MutableSet of all keys in this map.
Returns a MutableCollection of all values in this map. Note that this collection may contain duplicate values.