Abstract Mutable Map
Provides a skeletal implementation of the MutableMap interface.
The implementor is required to implement entries property, which should return mutable set of map entries, and put function.
Since Kotlin
Provides a skeletal implementation of the MutableMap interface.
The implementor is required to implement entries property, which should return mutable set of map entries, and put function.
Since Kotlin
Provides a skeletal implementation of the MutableMap interface.
The implementor is required to implement entries property, which should return mutable set of map entries, and put function.
Provides a skeletal implementation of the MutableMap interface.
The implementor is required to implement entries property, which should return mutable set of map entries, and put function.
Since Kotlin
Parameters
the type of map keys. The map is invariant in its key type.
the type of map values. The map is invariant in its value type.
the type of map keys. The map is invariant in its key type.
the type of map values. The map is invariant in its value type.
the type of map keys. The map is invariant in its key type.
the type of map values. The map is invariant in its value type.
the type of map keys. The map is invariant in its key type.
the type of map values. The map is invariant in its value type.
Functions
Removes all elements from this map.
Removes all elements from this map.
Removes all elements from this map.
Compares this map with other instance with the ordered structural equality.
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 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.
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
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 keys in this map.
Returns a MutableCollection of all values in this map. Note that this collection may contain duplicate values.
Returns a read-only Collection of all values in this map.
Returns a read-only Collection of all values in this map.