Tuple1

data class Tuple1<Super, T1 : Super>(val item1: T1) : Tuple<Super> , AllOf1<T1> (source)

Tuple carrying a single element item1.

Constructors

Link copied to clipboard
constructor(item1: T1)

Properties

Link copied to clipboard
open override val item1: T1

first value contained in the product.

Functions

Link copied to clipboard
operator fun <Super, T1 : Super, T2 : Super> Tuple1<*, T1>.plus(item2: T2): Tuple2<Super, T1, T2>

Appends item2 to this tuple.

Link copied to clipboard
open override fun toList(): List<Super>

Constructs a list of all the items in this.