KeyValuePair

data class KeyValuePair<out K, out V>(val key: K, val value: V)

Performs the same function as Kotlin's Pair with more exact naming.

Parameters

key

The key.

value

The value.

Constructors

Link copied to clipboard
constructor(key: K, value: V)

Properties

Link copied to clipboard
val key: K
Link copied to clipboard
val value: V

Functions

Link copied to clipboard
open override fun toString(): String