Tuple4

data class Tuple4<Super, T1 : Super, T2 : Super, T3 : Super, T4 : Super> : Tuple<Super> , AllOf4<T1, T2, T3, T4> (source)

Tuple carrying elements item1 through item4.

Parameters

Super

common super type for all tuple elements.

T1

type of the first element.

T2

type of the second element.

T3

type of the third element.

T4

type of the fourth element.

Properties

Link copied to clipboard
open override val item1: T1

the first element.

Link copied to clipboard
open override val item2: T2

the second element.

Link copied to clipboard
open override val item3: T3

the third element.

Link copied to clipboard
open override val item4: T4

the fourth element.

Functions

Link copied to clipboard
operator fun <Super, T1 : Super, T2 : Super, T3 : Super, T4 : Super, T5 : Super> Tuple4<*, T1, T2, T3, T4>.plus(item5: T5): Tuple5<Super, T1, T2, T3, T4, T5>

Appends item5 to this tuple.

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

Constructs a list of all the items in this.