Tuple

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

Represents a generic key-value tuple.

Parameters

K

the type of the key

V

the type of the value

Constructors

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

Properties

Link copied to clipboard
val key: K

the key of the tuple

Link copied to clipboard
val value: V

the value of the tuple