MutableEntry
Represents a key/value pair held by a MutableMap.
Map entries obtained from the iteration of MutableMap.entries set are not supposed to be stored separately or used long after they are obtained. The behavior of an entry is unspecified if the backing map has been modified after the entry was obtained, except when the map was modified through the setValue method.
To create an immutable entry not connected to any map, one can use Map.Entry.copy function.
Since Kotlin
1.0Parameters
the type of the entry key. The entry is invariant in its key type.
the type of the entry value. The entry is invariant in its value type.
Represents a key/value pair held by a MutableMap.
Map entries obtained from the iteration of MutableMap.entries set are not supposed to be stored separately or used long after they are obtained. The behavior of an entry is unspecified if the backing map has been modified after the entry was obtained, except when the map was modified through the setValue method.
To create an immutable entry not connected to any map, one can use Map.Entry.copy function.
Since Kotlin
1.1Parameters
the type of the entry key. The entry is invariant in its key type.
the type of the entry value. The entry is invariant in its value type.
Represents a key/value pair held by a MutableMap.
Map entries obtained from the iteration of MutableMap.entries set are not supposed to be stored separately or used long after they are obtained. The behavior of an entry is unspecified if the backing map has been modified after the entry was obtained, except when the map was modified through the setValue method.
To create an immutable entry not connected to any map, one can use Map.Entry.copy function.
Since Kotlin
1.0Parameters
the type of the entry key. The entry is invariant in its key type.
the type of the entry value. The entry is invariant in its value type.
Represents a key/value pair held by a MutableMap.
Map entries obtained from the iteration of MutableMap.entries set are not supposed to be stored separately or used long after they are obtained. The behavior of an entry is unspecified if the backing map has been modified after the entry was obtained, except when the map was modified through the setValue method.
To create an immutable entry not connected to any map, one can use Map.Entry.copy function.
Since Kotlin
1.3Parameters
the type of the entry key. The entry is invariant in its key type.
the type of the entry value. The entry is invariant in its value type.
Represents a key/value pair held by a MutableMap.
Map entries obtained from the iteration of MutableMap.entries set are not supposed to be stored separately or used long after they are obtained. The behavior of an entry is unspecified if the backing map has been modified after the entry was obtained, except when the map was modified through the setValue method.
To create an immutable entry not connected to any map, one can use Map.Entry.copy function.
Since Kotlin
1.8Parameters
the type of the entry key. The entry is invariant in its key type.
the type of the entry value. The entry is invariant in its value type.
Represents a key/value pair held by a MutableMap.
Map entries obtained from the iteration of MutableMap.entries set are not supposed to be stored separately or used long after they are obtained. The behavior of an entry is unspecified if the backing map has been modified after the entry was obtained, except when the map was modified through the setValue method.
To create an immutable entry not connected to any map, one can use Map.Entry.copy function.
Since Kotlin
1.8Parameters
the type of the entry key. The entry is invariant in its key type.
the type of the entry value. The entry is invariant in its value type.
Functions
Changes the value associated with the key of this entry.
Changes the value associated with the key of this entry.
Changes the value associated with the key of this entry.
Changes the value associated with the key of this entry.
Changes the value associated with the key of this entry.
Changes the value associated with the key of this entry.