KoneMapEntry

interface KoneMapEntry<out Key, out Value>(source)

Represents a pair of a key and its (future) value in the map.

This interface is used to represent entries for a map when the map is being constructed.

Inheritors

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
abstract val key: Key

Returns the corresponding key of the entry.

Link copied to clipboard
abstract val value: Value

Returns the corresponding value of the entry.

Functions

Link copied to clipboard
operator fun <Key> KoneMapEntry<Key, *>.component1(): Key
Link copied to clipboard
operator fun <Value> KoneMapEntry<*, Value>.component2(): Value