Tuple8

data class Tuple8<out A1, out A2, out A3, out A4, out A5, out A6, out A7, out A8>(val a1: A1, val a2: A2, val a3: A3, val a4: A4, val a5: A5, val a6: A6, val a7: A7, val a8: A8)

Represents a simple data structure to hold 8 values.

Since

2.0.0

Parameters

A1

The type of the 1st component of this Tuple8.

A2

The type of the 2nd component of this Tuple8.

A3

The type of the 3rd component of this Tuple8.

A4

The type of the 4th component of this Tuple8.

A5

The type of the 5th component of this Tuple8.

A6

The type of the 6th component of this Tuple8.

A7

The type of the 7th component of this Tuple8.

A8

The type of the 8th component of this Tuple8.

a1

the 1st component of this Tuple8.

a2

the 2nd component of this Tuple8.

a3

the 3rd component of this Tuple8.

a4

the 4th component of this Tuple8.

a5

the 5th component of this Tuple8.

a6

the 6th component of this Tuple8.

a7

the 7th component of this Tuple8.

a8

the 8th component of this Tuple8.

Constructors

Link copied to clipboard
constructor(a1: A1, a2: A2, a3: A3, a4: A4, a5: A5, a6: A6, a7: A7, a8: A8)

Properties

Link copied to clipboard
val a1: A1
Link copied to clipboard
val a2: A2
Link copied to clipboard
val a3: A3
Link copied to clipboard
val a4: A4
Link copied to clipboard
val a5: A5
Link copied to clipboard
val a6: A6
Link copied to clipboard
val a7: A7
Link copied to clipboard
val a8: A8

Functions

Link copied to clipboard
fun <A1, A2, A3, A4, A5, A6, A7, A8, A9> Tuple8<A1, A2, A3, A4, A5, A6, A7, A8>.append(a9: A9): Tuple9<A1, A2, A3, A4, A5, A6, A7, A8, A9>

Transforms this Tuple8 into a Tuple9 by appending the given arguments.

Link copied to clipboard
fun <A1, A2, A3, A4, A5, A6, A7, A8, A1New> Tuple8<A1, A2, A3, A4, A5, A6, A7, A8>.mapA1(transform: (A1) -> A1New): Tuple8<A1New, A2, A3, A4, A5, A6, A7, A8>

Maps Tuple8.a1 with the given transform function and returns a new Tuple8.

Link copied to clipboard
fun <A1, A2, A3, A4, A5, A6, A7, A8, A2New> Tuple8<A1, A2, A3, A4, A5, A6, A7, A8>.mapA2(transform: (A2) -> A2New): Tuple8<A1, A2New, A3, A4, A5, A6, A7, A8>

Maps Tuple8.a2 with the given transform function and returns a new Tuple8.

Link copied to clipboard
fun <A1, A2, A3, A4, A5, A6, A7, A8, A3New> Tuple8<A1, A2, A3, A4, A5, A6, A7, A8>.mapA3(transform: (A3) -> A3New): Tuple8<A1, A2, A3New, A4, A5, A6, A7, A8>

Maps Tuple8.a3 with the given transform function and returns a new Tuple8.

Link copied to clipboard
fun <A1, A2, A3, A4, A5, A6, A7, A8, A4New> Tuple8<A1, A2, A3, A4, A5, A6, A7, A8>.mapA4(transform: (A4) -> A4New): Tuple8<A1, A2, A3, A4New, A5, A6, A7, A8>

Maps Tuple8.a4 with the given transform function and returns a new Tuple8.

Link copied to clipboard
fun <A1, A2, A3, A4, A5, A6, A7, A8, A5New> Tuple8<A1, A2, A3, A4, A5, A6, A7, A8>.mapA5(transform: (A5) -> A5New): Tuple8<A1, A2, A3, A4, A5New, A6, A7, A8>

Maps Tuple8.a5 with the given transform function and returns a new Tuple8.

Link copied to clipboard
fun <A1, A2, A3, A4, A5, A6, A7, A8, A6New> Tuple8<A1, A2, A3, A4, A5, A6, A7, A8>.mapA6(transform: (A6) -> A6New): Tuple8<A1, A2, A3, A4, A5, A6New, A7, A8>

Maps Tuple8.a6 with the given transform function and returns a new Tuple8.

Link copied to clipboard
fun <A1, A2, A3, A4, A5, A6, A7, A8, A7New> Tuple8<A1, A2, A3, A4, A5, A6, A7, A8>.mapA7(transform: (A7) -> A7New): Tuple8<A1, A2, A3, A4, A5, A6, A7New, A8>

Maps Tuple8.a7 with the given transform function and returns a new Tuple8.

Link copied to clipboard
fun <A1, A2, A3, A4, A5, A6, A7, A8, A8New> Tuple8<A1, A2, A3, A4, A5, A6, A7, A8>.mapA8(transform: (A8) -> A8New): Tuple8<A1, A2, A3, A4, A5, A6, A7, A8New>

Maps Tuple8.a8 with the given transform function and returns a new Tuple8.

Link copied to clipboard
fun <T> Tuple8<T, T, T, T, T, T, T, T>.toList(): List<T>

Converts this Tuple8 into a List.

Link copied to clipboard
fun <T> Tuple8<T, T, T, T, T, T, T, T>.toSequence(): Sequence<T>

Converts this Tuple8 into a Sequence.