KtMutableMapEntry<K, V> class

Represents a key/value pair held by a KtMutableMap.

Inheritance

Constructors

KtMutableMapEntry()

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
key → K
Returns the key of this key/value pair.
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
value → V
Returns the value of this key/value pair.
@nullable, read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
setValue(V newValue) → V
Changes the value associated with the key of this entry. [...]
toPair() KtPair<K, V>
Converts entry to KtPair with key being first component and value being second.
inherited
toString() String
Returns a string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited