tupleOf

fun <Super, T1 : Super> tupleOf(item1: T1): Tuple1<Super, T1>(source)

Returns a tuple with one element.

Return

a Tuple1 containing item1.

Parameters

Super

common super type for all tuple elements.

T1

type of the first element.

item1

the first element.


fun <Super, T1 : Super, T2 : Super> tupleOf(item1: T1, item2: T2): Tuple2<Super, T1, T2>(source)

Returns a tuple with two elements.

Return

a Tuple2 containing item1 and item2.

Parameters

Super

common super type for all tuple elements.

T1

type of the first element.

T2

type of the second element.

item1

the first element.

item2

the second element.


fun <Super, T1 : Super, T2 : Super, T3 : Super> tupleOf(item1: T1, item2: T2, item3: T3): Tuple3<Super, T1, T2, T3>(source)

Returns a tuple with three elements.

Return

a Tuple3 containing item1, item2, and item3.

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.

item1

the first element.

item2

the second element.

item3

the third element.


fun <Super, T1 : Super, T2 : Super, T3 : Super, T4 : Super> tupleOf(item1: T1, item2: T2, item3: T3, item4: T4): Tuple4<Super, T1, T2, T3, T4>(source)

Returns a tuple with four elements.

Return

a Tuple4 containing 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.

item1

the first element.

item2

the second element.

item3

the third element.

item4

the fourth element.


fun <Super, T1 : Super, T2 : Super, T3 : Super, T4 : Super, T5 : Super> tupleOf(item1: T1, item2: T2, item3: T3, item4: T4, item5: T5): Tuple5<Super, T1, T2, T3, T4, T5>(source)

Returns a tuple with five elements.

Return

a Tuple5 containing item1 through item5.

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.

T5

type of the fifth element.

item1

the first element.

item2

the second element.

item3

the third element.

item4

the fourth element.

item5

the fifth element.


fun <Super, T1 : Super, T2 : Super, T3 : Super, T4 : Super, T5 : Super, T6 : Super> tupleOf(item1: T1, item2: T2, item3: T3, item4: T4, item5: T5, item6: T6): Tuple6<Super, T1, T2, T3, T4, T5, T6>(source)

Returns a tuple with six elements.

Return

a Tuple6 containing item1 through item6.

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.

T5

type of the fifth element.

T6

type of the sixth element.

item1

the first element.

item2

the second element.

item3

the third element.

item4

the fourth element.

item5

the fifth element.

item6

the sixth element.


fun <Super, T1 : Super, T2 : Super, T3 : Super, T4 : Super, T5 : Super, T6 : Super, T7 : Super> tupleOf(item1: T1, item2: T2, item3: T3, item4: T4, item5: T5, item6: T6, item7: T7): Tuple7<Super, T1, T2, T3, T4, T5, T6, T7>(source)

Returns a tuple with seven elements.

Return

a Tuple7 containing item1 through item7.

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.

T5

type of the fifth element.

T6

type of the sixth element.

T7

type of the seventh element.

item1

the first element.

item2

the second element.

item3

the third element.

item4

the fourth element.

item5

the fifth element.

item6

the sixth element.

item7

the seventh element.


fun <Super, T1 : Super, T2 : Super, T3 : Super, T4 : Super, T5 : Super, T6 : Super, T7 : Super, T8 : Super> tupleOf(item1: T1, item2: T2, item3: T3, item4: T4, item5: T5, item6: T6, item7: T7, item8: T8): Tuple8<Super, T1, T2, T3, T4, T5, T6, T7, T8>(source)

Returns a tuple with eight elements.

Return

a Tuple8 containing item1 through item8.

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.

T5

type of the fifth element.

T6

type of the sixth element.

T7

type of the seventh element.

T8

type of the eighth element.

item1

the first element.

item2

the second element.

item3

the third element.

item4

the fourth element.

item5

the fifth element.

item6

the sixth element.

item7

the seventh element.

item8

the eighth element.


fun <Super, T1 : Super, T2 : Super, T3 : Super, T4 : Super, T5 : Super, T6 : Super, T7 : Super, T8 : Super, T9 : Super> tupleOf(item1: T1, item2: T2, item3: T3, item4: T4, item5: T5, item6: T6, item7: T7, item8: T8, item9: T9): Tuple9<Super, T1, T2, T3, T4, T5, T6, T7, T8, T9>(source)

Returns a tuple with nine elements.

Return

a Tuple9 containing item1 through item9.

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.

T5

type of the fifth element.

T6

type of the sixth element.

T7

type of the seventh element.

T8

type of the eighth element.

T9

type of the ninth element.

item1

the first element.

item2

the second element.

item3

the third element.

item4

the fourth element.

item5

the fifth element.

item6

the sixth element.

item7

the seventh element.

item8

the eighth element.

item9

the ninth element.


fun <Super, T1 : Super, T2 : Super, T3 : Super, T4 : Super, T5 : Super, T6 : Super, T7 : Super, T8 : Super, T9 : Super, T10 : Super> tupleOf(item1: T1, item2: T2, item3: T3, item4: T4, item5: T5, item6: T6, item7: T7, item8: T8, item9: T9, item10: T10): Tuple10<Super, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>(source)

Returns a tuple with ten elements.

Return

a Tuple10 containing item1 through item10.

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.

T5

type of the fifth element.

T6

type of the sixth element.

T7

type of the seventh element.

T8

type of the eighth element.

T9

type of the ninth element.

T10

type of the tenth element.

item1

the first element.

item2

the second element.

item3

the third element.

item4

the fourth element.

item5

the fifth element.

item6

the sixth element.

item7

the seventh element.

item8

the eighth element.

item9

the ninth element.

item10

the tenth element.