17
17
/** Product22 is a cartesian product of 22 components.
20
trait Product22[+T1, +T2, +T3, +T4, +T5, +T6, +T7, +T8, +T9, +T10, +T11, +T12, +T13, +T14, +T15, +T16, +T17, +T18, +T19, +T20, +T21, +T22] extends Product {
20
trait Product22[+T1, +T2, +T3, +T4, +T5, +T6, +T7, +T8, +T9, +T10, +T11, +T12, +T13, +T14, +T15, +T16, +T17, +T18, +T19, +T20, +T21, +T22] extends Any with Product {
21
21
/** The arity of this product.
24
24
override def productArity = 22
27
27
/** Returns the n-th projection of this product if 0 < n <= productArity,
28
28
* otherwise throws an `IndexOutOfBoundsException`.
30
30
* @param n number of the projection to be returned
31
* @return same as `._(n+1)`, for example `productElement(1)` is the same as `._1`.
31
* @return same as `._(n+1)`, for example `productElement(0)` is the same as `._1`.
32
32
* @throws IndexOutOfBoundsException
35
35
@throws(classOf[IndexOutOfBoundsException])
36
override def productElement(n: Int) = n match {
36
override def productElement(n: Int) = n match {