Tuple

fun <A1, A2> Tuple(a1: A1, a2: A2): Pair<A1, A2>

Factory method to create a Pair.

Alternative to Pair(...) with the advantage that you can add remove arguments without the need to change function name.

Return

the newly created Pair

Since

2.1.0


fun <A1, A2, A3> Tuple(a1: A1, a2: A2, a3: A3): Triple<A1, A2, A3>

Factory method to create a Triple.

Alternative to Triple(...) with the advantage that you can add remove arguments without the need to change function name.

Return

the newly created Triple

Since

2.1.0


fun <A1, A2, A3, A4> Tuple(a1: A1, a2: A2, a3: A3, a4: A4): Tuple4<A1, A2, A3, A4>

Factory method to create a Tuple4.

Alternative to Tuple4(...) with the advantage that you can add remove arguments without the need to change function name.

Return

the newly created Tuple4

Since

2.1.0


fun <A1, A2, A3, A4, A5> Tuple(a1: A1, a2: A2, a3: A3, a4: A4, a5: A5): Tuple5<A1, A2, A3, A4, A5>

Factory method to create a Tuple5.

Alternative to Tuple5(...) with the advantage that you can add remove arguments without the need to change function name.

Return

the newly created Tuple5

Since

2.1.0


fun <A1, A2, A3, A4, A5, A6> Tuple(a1: A1, a2: A2, a3: A3, a4: A4, a5: A5, a6: A6): Tuple6<A1, A2, A3, A4, A5, A6>

Factory method to create a Tuple6.

Alternative to Tuple6(...) with the advantage that you can add remove arguments without the need to change function name.

Return

the newly created Tuple6

Since

2.1.0


fun <A1, A2, A3, A4, A5, A6, A7> Tuple(a1: A1, a2: A2, a3: A3, a4: A4, a5: A5, a6: A6, a7: A7): Tuple7<A1, A2, A3, A4, A5, A6, A7>

Factory method to create a Tuple7.

Alternative to Tuple7(...) with the advantage that you can add remove arguments without the need to change function name.

Return

the newly created Tuple7

Since

2.1.0


fun <A1, A2, A3, A4, A5, A6, A7, A8> Tuple(a1: A1, a2: A2, a3: A3, a4: A4, a5: A5, a6: A6, a7: A7, a8: A8): Tuple8<A1, A2, A3, A4, A5, A6, A7, A8>

Factory method to create a Tuple8.

Alternative to Tuple8(...) with the advantage that you can add remove arguments without the need to change function name.

Return

the newly created Tuple8

Since

2.1.0


fun <A1, A2, A3, A4, A5, A6, A7, A8, A9> Tuple(a1: A1, a2: A2, a3: A3, a4: A4, a5: A5, a6: A6, a7: A7, a8: A8, a9: A9): Tuple9<A1, A2, A3, A4, A5, A6, A7, A8, A9>

Factory method to create a Tuple9.

Alternative to Tuple9(...) with the advantage that you can add remove arguments without the need to change function name.

Return

the newly created Tuple9

Since

2.1.0