Tuple22

scala.Tuple22
final case class Tuple22[+T1, +T2, +T3, +T4, +T5, +T6, +T7, +T8, +T9, +T10, +T11, +T12, +T13, +T14, +T15, +T16, +T17, +T18, +T19, +T20, +T21, +T22](_1: T1, _2: T2, _3: T3, _4: T4, _5: T5, _6: T6, _7: T7, _8: T8, _9: T9, _10: T10, _11: T11, _12: T12, _13: T13, _14: T14, _15: T15, _16: T16, _17: T17, _18: T18, _19: T19, _20: T20, _21: T21, _22: T22) extends Product22[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22]

A tuple of 22 elements; the canonical representation of a scala.Product22.

Type parameters

T1

the type of the 1st element

T10

the type of the 10th element

T11

the type of the 11th element

T12

the type of the 12th element

T13

the type of the 13th element

T14

the type of the 14th element

T15

the type of the 15th element

T16

the type of the 16th element

T17

the type of the 17th element

T18

the type of the 18th element

T19

the type of the 19th element

T2

the type of the 2nd element

T20

the type of the 20th element

T21

the type of the 21st element

T22

the type of the 22nd element

T3

the type of the 3rd element

T4

the type of the 4th element

T5

the type of the 5th element

T6

the type of the 6th element

T7

the type of the 7th element

T8

the type of the 8th element

T9

the type of the 9th element

Value parameters

_1

the 1st element of this Tuple22

_10

the 10th element of this Tuple22

_11

the 11th element of this Tuple22

_12

the 12th element of this Tuple22

_13

the 13th element of this Tuple22

_14

the 14th element of this Tuple22

_15

the 15th element of this Tuple22

_16

the 16th element of this Tuple22

_17

the 17th element of this Tuple22

_18

the 18th element of this Tuple22

_19

the 19th element of this Tuple22

_2

the 2nd element of this Tuple22

_20

the 20th element of this Tuple22

_21

the 21st element of this Tuple22

_22

the 22nd element of this Tuple22

_3

the 3rd element of this Tuple22

_4

the 4th element of this Tuple22

_5

the 5th element of this Tuple22

_6

the 6th element of this Tuple22

_7

the 7th element of this Tuple22

_8

the 8th element of this Tuple22

_9

the 9th element of this Tuple22

Attributes

Constructor

Create a new tuple with 22 elements. Note that it is more idiomatic to create a Tuple22 via (t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, t21, t22)

Source
Tuple22.scala
Graph
Supertypes
trait Serializable
trait Product22[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22]
class T1 *: T2 *: T3 *: T4 *: T5 *: T6 *: T7 *: T8 *: T9 *: T10 *: T11 *: T12 *: T13 *: T14 *: T15 *: T16 *: T17 *: T18 *: T19 *: T20 *: T21 *: T22 *: EmptyTuple.type
trait Tuple
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

override def toString(): String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Any
Source
Tuple22.scala

Inherited methods

inline def *:[H, This >: this.type <: Tuple](x: H): H *: This

Returns a new tuple by prepending the element to this tuple. This operation is O(this.size)

Returns a new tuple by prepending the element to this tuple. This operation is O(this.size)

Attributes

Inherited from:
Tuple
Source
Tuple.scala
inline def ++[This >: this.type <: Tuple](that: Tuple): Concat[This, that.type]

Returns a new tuple by concatenating this tuple with that tuple. This operation is O(this.size + that.size)

Returns a new tuple by concatenating this tuple with that tuple. This operation is O(this.size + that.size)

Type parameters

This

the exact type of this tuple

Value parameters

that

the tuple to append to this tuple

Attributes

Inherited from:
Tuple
Source
Tuple.scala
inline def :*[This >: this.type <: Tuple, L](x: L): Append[This, L]

Returns a copy of this tuple with an element appended.

Returns a copy of this tuple with an element appended.

Attributes

Inherited from:
Tuple
Source
Tuple.scala
inline def apply[This >: this.type <: Tuple](n: Int): Elem[This, n.type]

Gets the i-th element of this tuple. Equivalent to productElement but with a precise return type.

Gets the i-th element of this tuple. Equivalent to productElement but with a precise return type.

Type parameters

This

the exact type of this tuple

Value parameters

n

the zero-based index of the element to retrieve

Attributes

Inherited from:
Tuple
Source
Tuple.scala
inline def drop[This >: this.type <: Tuple](n: Int): Drop[This, n.type]

Given a tuple (a1, ..., am), returns the tuple (an+1, ..., am) consisting all its elements except the first n ones.

Given a tuple (a1, ..., am), returns the tuple (an+1, ..., am) consisting all its elements except the first n ones.

Type parameters

This

the exact type of this tuple

Value parameters

n

the number of elements to drop from the beginning

Attributes

Inherited from:
Tuple
Source
Tuple.scala
inline def head[This >: this.type <: Tuple]: Head[This]

Gets the head of this tuple.

Gets the head of this tuple.

Type parameters

This

the exact type of this tuple

Attributes

Inherited from:
Tuple
Source
Tuple.scala
inline def init[This >: this.type <: Tuple]: Init[This]

Gets the initial part of the tuple without its last element.

Gets the initial part of the tuple without its last element.

Type parameters

This

the exact type of this tuple

Attributes

Inherited from:
Tuple
Source
Tuple.scala
inline def last[This >: this.type <: Tuple]: Last[This]

Gets the last of this tuple.

Gets the last of this tuple.

Type parameters

This

the exact type of this tuple

Attributes

Inherited from:
Tuple
Source
Tuple.scala
inline def map[F[_]](f: [t] => t => F[t]): Map[this.type, F]

Called on a tuple (a1, ..., an), returns a new tuple (f(a1), ..., f(an)). The result is typed as (F[A1], ..., F[An]) if the tuple type is fully known. Otherwise the result type is F[A1] *: Tuple.

Called on a tuple (a1, ..., an), returns a new tuple (f(a1), ..., f(an)). The result is typed as (F[A1], ..., F[An]) if the tuple type is fully known. Otherwise the result type is F[A1] *: Tuple.

Type parameters

F

the type constructor applied to each element type

Attributes

Inherited from:
Tuple
Source
Tuple.scala
override def productArity: Int

The arity of this product.

The arity of this product.

Attributes

Returns

22

Definition Classes
Inherited from:
Product22
Source
Product22.scala
override def productElement(n: Int): Any

Returns the n-th projection of this product if 0 = 22).

Returns the n-th projection of this product if 0 = 22).

Attributes

Definition Classes
Inherited from:
Product22
Source
Product22.scala

An iterator over the names of all the elements of this product.

An iterator over the names of all the elements of this product.

Attributes

Inherited from:
Product
Source
Product.scala

An iterator over all the elements of this product.

An iterator over all the elements of this product.

Attributes

Returns

in the default implementation, an Iterator[Any]

Inherited from:
Product
Source
Product.scala
inline def reverse[This >: this.type <: Tuple]: Reverse[This]

Given a tuple (a1, ..., am), returns the reversed tuple (am, ..., a1) consisting all its elements.

Given a tuple (a1, ..., am), returns the reversed tuple (am, ..., a1) consisting all its elements.

Type parameters

This

the exact type of this tuple

Attributes

Inherited from:
Tuple
Source
Tuple.scala
inline def size[This >: this.type <: Tuple]: Size[This]

Returns the size (or arity) of the tuple.

Returns the size (or arity) of the tuple.

Type parameters

This

the exact type of this tuple

Attributes

Inherited from:
Tuple
Source
Tuple.scala
inline def splitAt[This >: this.type <: Tuple](n: Int): Split[This, n.type]

Given a tuple (a1, ..., am), returns a pair of the tuple (a1, ..., an) consisting of the first n elements, and the tuple (an+1, ..., am) consisting of the remaining elements.

Given a tuple (a1, ..., am), returns a pair of the tuple (a1, ..., an) consisting of the first n elements, and the tuple (an+1, ..., am) consisting of the remaining elements.

Type parameters

This

the exact type of this tuple

Value parameters

n

the number of elements in the first part of the split

Attributes

Inherited from:
Tuple
Source
Tuple.scala
inline def tail[This >: this.type <: Tuple]: Tail[This]

Gets the tail of this tuple. This operation is O(this.size)

Gets the tail of this tuple. This operation is O(this.size)

Type parameters

This

the exact type of this tuple

Attributes

Inherited from:
Tuple
Source
Tuple.scala
inline def take[This >: this.type <: Tuple](n: Int): Take[This, n.type]

Given a tuple (a1, ..., am), returns the tuple (a1, ..., an) consisting of its first n elements.

Given a tuple (a1, ..., am), returns the tuple (a1, ..., an) consisting of its first n elements.

Type parameters

This

the exact type of this tuple

Value parameters

n

the number of elements to take from the beginning

Attributes

Inherited from:
Tuple
Source
Tuple.scala
inline def toArray: Array[Object]

Creates a copy of this tuple as an Array.

Creates a copy of this tuple as an Array.

Attributes

Inherited from:
Tuple
Source
Tuple.scala
inline def toIArray: IArray[Object]

Creates a copy of this tuple as an IArray.

Creates a copy of this tuple as an IArray.

Attributes

Inherited from:
Tuple
Source
Tuple.scala
inline def toList: List[Union[this.type]]

Creates a copy of this tuple as a List.

Creates a copy of this tuple as a List.

Attributes

Inherited from:
Tuple
Source
Tuple.scala
inline def zip[This >: this.type <: Tuple, T2 <: Tuple](t2: T2): Zip[This, T2]

Given two tuples, (a1, ..., an) and (b1, ..., bn), returns a tuple ((a1, b1), ..., (an, bn)). If the two tuples have different sizes, the extra elements of the larger tuple will be disregarded. The result is typed as ((A1, B1), ..., (An, Bn)) if at least one of the tuple types has a EmptyTuple tail. Otherwise the result type is (A1, B1) *: ... *: (Ai, Bi) *: Tuple

Given two tuples, (a1, ..., an) and (b1, ..., bn), returns a tuple ((a1, b1), ..., (an, bn)). If the two tuples have different sizes, the extra elements of the larger tuple will be disregarded. The result is typed as ((A1, B1), ..., (An, Bn)) if at least one of the tuple types has a EmptyTuple tail. Otherwise the result type is (A1, B1) *: ... *: (Ai, Bi) *: Tuple

Type parameters

T2

the type of the other tuple to zip with

This

the exact type of this tuple

Value parameters

t2

the tuple to zip with this tuple

Attributes

Inherited from:
Tuple
Source
Tuple.scala