summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/library/scala/Function0.scala2
-rw-r--r--src/library/scala/Function1.scala2
-rw-r--r--src/library/scala/Function2.scala2
-rw-r--r--src/library/scala/Function3.scala2
-rw-r--r--src/library/scala/Function4.scala2
-rw-r--r--src/library/scala/Function5.scala2
-rw-r--r--src/library/scala/Function6.scala2
-rw-r--r--src/library/scala/Function7.scala2
-rw-r--r--src/library/scala/Function8.scala2
-rw-r--r--src/library/scala/Product0.scala5
-rw-r--r--src/library/scala/Product1.scala7
-rw-r--r--src/library/scala/Product10.scala25
-rw-r--r--src/library/scala/Product11.scala27
-rw-r--r--src/library/scala/Product12.scala29
-rw-r--r--src/library/scala/Product13.scala31
-rw-r--r--src/library/scala/Product14.scala33
-rw-r--r--src/library/scala/Product15.scala35
-rw-r--r--src/library/scala/Product16.scala37
-rw-r--r--src/library/scala/Product17.scala39
-rw-r--r--src/library/scala/Product18.scala41
-rw-r--r--src/library/scala/Product19.scala43
-rw-r--r--src/library/scala/Product2.scala9
-rw-r--r--src/library/scala/Product20.scala45
-rw-r--r--src/library/scala/Product21.scala47
-rw-r--r--src/library/scala/Product22.scala49
-rw-r--r--src/library/scala/Product3.scala11
-rw-r--r--src/library/scala/Product4.scala13
-rw-r--r--src/library/scala/Product5.scala15
-rw-r--r--src/library/scala/Product6.scala17
-rw-r--r--src/library/scala/Product7.scala19
-rw-r--r--src/library/scala/Product8.scala21
-rw-r--r--src/library/scala/Product9.scala23
-rw-r--r--src/library/scala/Tuple1.scala2
-rw-r--r--src/library/scala/Tuple2.scala2
-rw-r--r--src/library/scala/Tuple3.scala2
-rw-r--r--src/library/scala/Tuple4.scala2
-rw-r--r--src/library/scala/Tuple5.scala2
-rw-r--r--src/library/scala/Tuple6.scala2
-rw-r--r--src/library/scala/Tuple7.scala2
-rw-r--r--src/library/scala/Tuple8.scala2
40 files changed, 339 insertions, 316 deletions
diff --git a/src/library/scala/Function0.scala b/src/library/scala/Function0.scala
index 5f2141510a..e7fb1a1e60 100644
--- a/src/library/scala/Function0.scala
+++ b/src/library/scala/Function0.scala
@@ -7,7 +7,7 @@
** |/ **
\* */
-// generated on Mon Nov 27 15:01:28 CET 2006 (with fancy comment)
+// generated on Tue Nov 28 14:03:53 CET 2006 (with fancy comment)
// $Id$
package scala
diff --git a/src/library/scala/Function1.scala b/src/library/scala/Function1.scala
index f05437c1b6..18285c0a93 100644
--- a/src/library/scala/Function1.scala
+++ b/src/library/scala/Function1.scala
@@ -7,7 +7,7 @@
** |/ **
\* */
-// generated on Mon Nov 27 15:01:28 CET 2006 (with fancy comment) (with extra methods)
+// generated on Tue Nov 28 14:03:53 CET 2006 (with fancy comment) (with extra methods)
// $Id$
package scala
diff --git a/src/library/scala/Function2.scala b/src/library/scala/Function2.scala
index 73dfab251a..d1d0bfac6b 100644
--- a/src/library/scala/Function2.scala
+++ b/src/library/scala/Function2.scala
@@ -7,7 +7,7 @@
** |/ **
\* */
-// generated on Mon Nov 27 15:01:28 CET 2006 (with fancy comment)
+// generated on Tue Nov 28 14:03:53 CET 2006 (with fancy comment)
// $Id$
package scala
diff --git a/src/library/scala/Function3.scala b/src/library/scala/Function3.scala
index e00939b34c..df67b32679 100644
--- a/src/library/scala/Function3.scala
+++ b/src/library/scala/Function3.scala
@@ -7,7 +7,7 @@
** |/ **
\* */
-// generated on Mon Nov 27 15:01:28 CET 2006
+// generated on Tue Nov 28 14:03:53 CET 2006
// $Id$
package scala
diff --git a/src/library/scala/Function4.scala b/src/library/scala/Function4.scala
index 5626af9fd1..62a83841d8 100644
--- a/src/library/scala/Function4.scala
+++ b/src/library/scala/Function4.scala
@@ -7,7 +7,7 @@
** |/ **
\* */
-// generated on Mon Nov 27 15:01:28 CET 2006
+// generated on Tue Nov 28 14:03:53 CET 2006
// $Id$
package scala
diff --git a/src/library/scala/Function5.scala b/src/library/scala/Function5.scala
index 7aeb19efea..3c56cb48bd 100644
--- a/src/library/scala/Function5.scala
+++ b/src/library/scala/Function5.scala
@@ -7,7 +7,7 @@
** |/ **
\* */
-// generated on Mon Nov 27 15:01:28 CET 2006
+// generated on Tue Nov 28 14:03:53 CET 2006
// $Id$
package scala
diff --git a/src/library/scala/Function6.scala b/src/library/scala/Function6.scala
index cee9d99ebb..cbfe47c2ef 100644
--- a/src/library/scala/Function6.scala
+++ b/src/library/scala/Function6.scala
@@ -7,7 +7,7 @@
** |/ **
\* */
-// generated on Mon Nov 27 15:01:28 CET 2006
+// generated on Tue Nov 28 14:03:53 CET 2006
// $Id$
package scala
diff --git a/src/library/scala/Function7.scala b/src/library/scala/Function7.scala
index 8b1b2b8d1f..b7d6155ae8 100644
--- a/src/library/scala/Function7.scala
+++ b/src/library/scala/Function7.scala
@@ -7,7 +7,7 @@
** |/ **
\* */
-// generated on Mon Nov 27 15:01:28 CET 2006
+// generated on Tue Nov 28 14:03:53 CET 2006
// $Id$
package scala
diff --git a/src/library/scala/Function8.scala b/src/library/scala/Function8.scala
index bea3deb8e2..0a328a76a8 100644
--- a/src/library/scala/Function8.scala
+++ b/src/library/scala/Function8.scala
@@ -7,7 +7,7 @@
** |/ **
\* */
-// generated on Mon Nov 27 15:01:28 CET 2006
+// generated on Tue Nov 28 14:03:53 CET 2006
// $Id$
package scala
diff --git a/src/library/scala/Product0.scala b/src/library/scala/Product0.scala
index 713f0b8927..a0ed75138d 100644
--- a/src/library/scala/Product0.scala
+++ b/src/library/scala/Product0.scala
@@ -7,7 +7,7 @@
** |/ **
\* */
-// generated on Mon Nov 27 15:01:28 CET 2006
+// generated on Tue Nov 28 14:03:53 CET 2006
package scala
import Predef._
@@ -23,8 +23,9 @@ trait Product0 extends Product {
override def arity = 0
/**
- * Returns the n-th projection of this product if 0<n<=arity, otherwise null
+ * Returns the n-th projection of this product if 0<=n<arity, otherwise null
* @param n number of the projection to be returned
+ * @return same as _(n+1)
* @throws IndexOutOfBoundsException
*/
override def element(n: Int) = n match {
diff --git a/src/library/scala/Product1.scala b/src/library/scala/Product1.scala
index afb436cc32..09f6c15694 100644
--- a/src/library/scala/Product1.scala
+++ b/src/library/scala/Product1.scala
@@ -7,7 +7,7 @@
** |/ **
\* */
-// generated on Mon Nov 27 15:01:28 CET 2006
+// generated on Tue Nov 28 14:03:53 CET 2006
package scala
import Predef._
@@ -23,12 +23,13 @@ trait Product1 [+T1] extends Product {
override def arity = 1
/**
- * Returns the n-th projection of this product if 0<n<=arity, otherwise null
+ * Returns the n-th projection of this product if 0<=n<arity, otherwise null
* @param n number of the projection to be returned
+ * @return same as _(n+1)
* @throws IndexOutOfBoundsException
*/
override def element(n: Int) = n match {
- case 1 => _1
+ case 0 => _1
case _ => throw new IndexOutOfBoundsException(n.toString())
}
diff --git a/src/library/scala/Product10.scala b/src/library/scala/Product10.scala
index 641aa43fa4..323c6c891a 100644
--- a/src/library/scala/Product10.scala
+++ b/src/library/scala/Product10.scala
@@ -7,7 +7,7 @@
** |/ **
\* */
-// generated on Mon Nov 27 15:01:28 CET 2006
+// generated on Tue Nov 28 14:03:53 CET 2006
package scala
import Predef._
@@ -23,21 +23,22 @@ trait Product10 [+T1, +T2, +T3, +T4, +T5, +T6, +T7, +T8, +T9, +T10] extends Prod
override def arity = 10
/**
- * Returns the n-th projection of this product if 0<n<=arity, otherwise null
+ * Returns the n-th projection of this product if 0<=n<arity, otherwise null
* @param n number of the projection to be returned
+ * @return same as _(n+1)
* @throws IndexOutOfBoundsException
*/
override def element(n: Int) = n match {
- case 1 => _1
- case 2 => _2
- case 3 => _3
- case 4 => _4
- case 5 => _5
- case 6 => _6
- case 7 => _7
- case 8 => _8
- case 9 => _9
- case 10 => _10
+ case 0 => _1
+ case 1 => _2
+ case 2 => _3
+ case 3 => _4
+ case 4 => _5
+ case 5 => _6
+ case 6 => _7
+ case 7 => _8
+ case 8 => _9
+ case 9 => _10
case _ => throw new IndexOutOfBoundsException(n.toString())
}
diff --git a/src/library/scala/Product11.scala b/src/library/scala/Product11.scala
index 807e979e70..31c39adcb6 100644
--- a/src/library/scala/Product11.scala
+++ b/src/library/scala/Product11.scala
@@ -7,7 +7,7 @@
** |/ **
\* */
-// generated on Mon Nov 27 15:01:28 CET 2006
+// generated on Tue Nov 28 14:03:53 CET 2006
package scala
import Predef._
@@ -23,22 +23,23 @@ trait Product11 [+T1, +T2, +T3, +T4, +T5, +T6, +T7, +T8, +T9, +T10, +T11] extend
override def arity = 11
/**
- * Returns the n-th projection of this product if 0<n<=arity, otherwise null
+ * Returns the n-th projection of this product if 0<=n<arity, otherwise null
* @param n number of the projection to be returned
+ * @return same as _(n+1)
* @throws IndexOutOfBoundsException
*/
override def element(n: Int) = n match {
- case 1 => _1
- case 2 => _2
- case 3 => _3
- case 4 => _4
- case 5 => _5
- case 6 => _6
- case 7 => _7
- case 8 => _8
- case 9 => _9
- case 10 => _10
- case 11 => _11
+ case 0 => _1
+ case 1 => _2
+ case 2 => _3
+ case 3 => _4
+ case 4 => _5
+ case 5 => _6
+ case 6 => _7
+ case 7 => _8
+ case 8 => _9
+ case 9 => _10
+ case 10 => _11
case _ => throw new IndexOutOfBoundsException(n.toString())
}
diff --git a/src/library/scala/Product12.scala b/src/library/scala/Product12.scala
index 34e256b269..ffdbe1efc9 100644
--- a/src/library/scala/Product12.scala
+++ b/src/library/scala/Product12.scala
@@ -7,7 +7,7 @@
** |/ **
\* */
-// generated on Mon Nov 27 15:01:28 CET 2006
+// generated on Tue Nov 28 14:03:53 CET 2006
package scala
import Predef._
@@ -23,23 +23,24 @@ trait Product12 [+T1, +T2, +T3, +T4, +T5, +T6, +T7, +T8, +T9, +T10, +T11, +T12]
override def arity = 12
/**
- * Returns the n-th projection of this product if 0<n<=arity, otherwise null
+ * Returns the n-th projection of this product if 0<=n<arity, otherwise null
* @param n number of the projection to be returned
+ * @return same as _(n+1)
* @throws IndexOutOfBoundsException
*/
override def element(n: Int) = n match {
- case 1 => _1
- case 2 => _2
- case 3 => _3
- case 4 => _4
- case 5 => _5
- case 6 => _6
- case 7 => _7
- case 8 => _8
- case 9 => _9
- case 10 => _10
- case 11 => _11
- case 12 => _12
+ case 0 => _1
+ case 1 => _2
+ case 2 => _3
+ case 3 => _4
+ case 4 => _5
+ case 5 => _6
+ case 6 => _7
+ case 7 => _8
+ case 8 => _9
+ case 9 => _10
+ case 10 => _11
+ case 11 => _12
case _ => throw new IndexOutOfBoundsException(n.toString())
}
diff --git a/src/library/scala/Product13.scala b/src/library/scala/Product13.scala
index 81877e0e41..c5df827fa0 100644
--- a/src/library/scala/Product13.scala
+++ b/src/library/scala/Product13.scala
@@ -7,7 +7,7 @@
** |/ **
\* */
-// generated on Mon Nov 27 15:01:28 CET 2006
+// generated on Tue Nov 28 14:03:53 CET 2006
package scala
import Predef._
@@ -23,24 +23,25 @@ trait Product13 [+T1, +T2, +T3, +T4, +T5, +T6, +T7, +T8, +T9, +T10, +T11, +T12,
override def arity = 13
/**
- * Returns the n-th projection of this product if 0<n<=arity, otherwise null
+ * Returns the n-th projection of this product if 0<=n<arity, otherwise null
* @param n number of the projection to be returned
+ * @return same as _(n+1)
* @throws IndexOutOfBoundsException
*/
override def element(n: Int) = n match {
- case 1 => _1
- case 2 => _2
- case 3 => _3
- case 4 => _4
- case 5 => _5
- case 6 => _6
- case 7 => _7
- case 8 => _8
- case 9 => _9
- case 10 => _10
- case 11 => _11
- case 12 => _12
- case 13 => _13
+ case 0 => _1
+ case 1 => _2
+ case 2 => _3
+ case 3 => _4
+ case 4 => _5
+ case 5 => _6
+ case 6 => _7
+ case 7 => _8
+ case 8 => _9
+ case 9 => _10
+ case 10 => _11
+ case 11 => _12
+ case 12 => _13
case _ => throw new IndexOutOfBoundsException(n.toString())
}
diff --git a/src/library/scala/Product14.scala b/src/library/scala/Product14.scala
index 89183be229..f2792ae390 100644
--- a/src/library/scala/Product14.scala
+++ b/src/library/scala/Product14.scala
@@ -7,7 +7,7 @@
** |/ **
\* */
-// generated on Mon Nov 27 15:01:28 CET 2006
+// generated on Tue Nov 28 14:03:53 CET 2006
package scala
import Predef._
@@ -23,25 +23,26 @@ trait Product14 [+T1, +T2, +T3, +T4, +T5, +T6, +T7, +T8, +T9, +T10, +T11, +T12,
override def arity = 14
/**
- * Returns the n-th projection of this product if 0<n<=arity, otherwise null
+ * Returns the n-th projection of this product if 0<=n<arity, otherwise null
* @param n number of the projection to be returned
+ * @return same as _(n+1)
* @throws IndexOutOfBoundsException
*/
override def element(n: Int) = n match {
- case 1 => _1
- case 2 => _2
- case 3 => _3
- case 4 => _4
- case 5 => _5
- case 6 => _6
- case 7 => _7
- case 8 => _8
- case 9 => _9
- case 10 => _10
- case 11 => _11
- case 12 => _12
- case 13 => _13
- case 14 => _14
+ case 0 => _1
+ case 1 => _2
+ case 2 => _3
+ case 3 => _4
+ case 4 => _5
+ case 5 => _6
+ case 6 => _7
+ case 7 => _8
+ case 8 => _9
+ case 9 => _10
+ case 10 => _11
+ case 11 => _12
+ case 12 => _13
+ case 13 => _14
case _ => throw new IndexOutOfBoundsException(n.toString())
}
diff --git a/src/library/scala/Product15.scala b/src/library/scala/Product15.scala
index 92105fd8c3..198ff20469 100644
--- a/src/library/scala/Product15.scala
+++ b/src/library/scala/Product15.scala
@@ -7,7 +7,7 @@
** |/ **
\* */
-// generated on Mon Nov 27 15:01:28 CET 2006
+// generated on Tue Nov 28 14:03:53 CET 2006
package scala
import Predef._
@@ -23,26 +23,27 @@ trait Product15 [+T1, +T2, +T3, +T4, +T5, +T6, +T7, +T8, +T9, +T10, +T11, +T12,
override def arity = 15
/**
- * Returns the n-th projection of this product if 0<n<=arity, otherwise null
+ * Returns the n-th projection of this product if 0<=n<arity, otherwise null
* @param n number of the projection to be returned
+ * @return same as _(n+1)
* @throws IndexOutOfBoundsException
*/
override def element(n: Int) = n match {
- case 1 => _1
- case 2 => _2
- case 3 => _3
- case 4 => _4
- case 5 => _5
- case 6 => _6
- case 7 => _7
- case 8 => _8
- case 9 => _9
- case 10 => _10
- case 11 => _11
- case 12 => _12
- case 13 => _13
- case 14 => _14
- case 15 => _15
+ case 0 => _1
+ case 1 => _2
+ case 2 => _3
+ case 3 => _4
+ case 4 => _5
+ case 5 => _6
+ case 6 => _7
+ case 7 => _8
+ case 8 => _9
+ case 9 => _10
+ case 10 => _11
+ case 11 => _12
+ case 12 => _13
+ case 13 => _14
+ case 14 => _15
case _ => throw new IndexOutOfBoundsException(n.toString())
}
diff --git a/src/library/scala/Product16.scala b/src/library/scala/Product16.scala
index f0262d63aa..e80d2905d8 100644
--- a/src/library/scala/Product16.scala
+++ b/src/library/scala/Product16.scala
@@ -7,7 +7,7 @@
** |/ **
\* */
-// generated on Mon Nov 27 15:01:28 CET 2006
+// generated on Tue Nov 28 14:03:53 CET 2006
package scala
import Predef._
@@ -23,27 +23,28 @@ trait Product16 [+T1, +T2, +T3, +T4, +T5, +T6, +T7, +T8, +T9, +T10, +T11, +T12,
override def arity = 16
/**
- * Returns the n-th projection of this product if 0<n<=arity, otherwise null
+ * Returns the n-th projection of this product if 0<=n<arity, otherwise null
* @param n number of the projection to be returned
+ * @return same as _(n+1)
* @throws IndexOutOfBoundsException
*/
override def element(n: Int) = n match {
- case 1 => _1
- case 2 => _2
- case 3 => _3
- case 4 => _4
- case 5 => _5
- case 6 => _6
- case 7 => _7
- case 8 => _8
- case 9 => _9
- case 10 => _10
- case 11 => _11
- case 12 => _12
- case 13 => _13
- case 14 => _14
- case 15 => _15
- case 16 => _16
+ case 0 => _1
+ case 1 => _2
+ case 2 => _3
+ case 3 => _4
+ case 4 => _5
+ case 5 => _6
+ case 6 => _7
+ case 7 => _8
+ case 8 => _9
+ case 9 => _10
+ case 10 => _11
+ case 11 => _12
+ case 12 => _13
+ case 13 => _14
+ case 14 => _15
+ case 15 => _16
case _ => throw new IndexOutOfBoundsException(n.toString())
}
diff --git a/src/library/scala/Product17.scala b/src/library/scala/Product17.scala
index 104baf0748..315d10efac 100644
--- a/src/library/scala/Product17.scala
+++ b/src/library/scala/Product17.scala
@@ -7,7 +7,7 @@
** |/ **
\* */
-// generated on Mon Nov 27 15:01:28 CET 2006
+// generated on Tue Nov 28 14:03:53 CET 2006
package scala
import Predef._
@@ -23,28 +23,29 @@ trait Product17 [+T1, +T2, +T3, +T4, +T5, +T6, +T7, +T8, +T9, +T10, +T11, +T12,
override def arity = 17
/**
- * Returns the n-th projection of this product if 0<n<=arity, otherwise null
+ * Returns the n-th projection of this product if 0<=n<arity, otherwise null
* @param n number of the projection to be returned
+ * @return same as _(n+1)
* @throws IndexOutOfBoundsException
*/
override def element(n: Int) = n match {
- case 1 => _1
- case 2 => _2
- case 3 => _3
- case 4 => _4
- case 5 => _5
- case 6 => _6
- case 7 => _7
- case 8 => _8
- case 9 => _9
- case 10 => _10
- case 11 => _11
- case 12 => _12
- case 13 => _13
- case 14 => _14
- case 15 => _15
- case 16 => _16
- case 17 => _17
+ case 0 => _1
+ case 1 => _2
+ case 2 => _3
+ case 3 => _4
+ case 4 => _5
+ case 5 => _6
+ case 6 => _7
+ case 7 => _8
+ case 8 => _9
+ case 9 => _10
+ case 10 => _11
+ case 11 => _12
+ case 12 => _13
+ case 13 => _14
+ case 14 => _15
+ case 15 => _16
+ case 16 => _17
case _ => throw new IndexOutOfBoundsException(n.toString())
}
diff --git a/src/library/scala/Product18.scala b/src/library/scala/Product18.scala
index 3d9ae2bbd1..cb83b8b08e 100644
--- a/src/library/scala/Product18.scala
+++ b/src/library/scala/Product18.scala
@@ -7,7 +7,7 @@
** |/ **
\* */
-// generated on Mon Nov 27 15:01:28 CET 2006
+// generated on Tue Nov 28 14:03:53 CET 2006
package scala
import Predef._
@@ -23,29 +23,30 @@ trait Product18 [+T1, +T2, +T3, +T4, +T5, +T6, +T7, +T8, +T9, +T10, +T11, +T12,
override def arity = 18
/**
- * Returns the n-th projection of this product if 0<n<=arity, otherwise null
+ * Returns the n-th projection of this product if 0<=n<arity, otherwise null
* @param n number of the projection to be returned
+ * @return same as _(n+1)
* @throws IndexOutOfBoundsException
*/
override def element(n: Int) = n match {
- case 1 => _1
- case 2 => _2
- case 3 => _3
- case 4 => _4
- case 5 => _5
- case 6 => _6
- case 7 => _7
- case 8 => _8
- case 9 => _9
- case 10 => _10
- case 11 => _11
- case 12 => _12
- case 13 => _13
- case 14 => _14
- case 15 => _15
- case 16 => _16
- case 17 => _17
- case 18 => _18
+ case 0 => _1
+ case 1 => _2
+ case 2 => _3
+ case 3 => _4
+ case 4 => _5
+ case 5 => _6
+ case 6 => _7
+ case 7 => _8
+ case 8 => _9
+ case 9 => _10
+ case 10 => _11
+ case 11 => _12
+ case 12 => _13
+ case 13 => _14
+ case 14 => _15
+ case 15 => _16
+ case 16 => _17
+ case 17 => _18
case _ => throw new IndexOutOfBoundsException(n.toString())
}
diff --git a/src/library/scala/Product19.scala b/src/library/scala/Product19.scala
index ba57af8a34..c597ba7661 100644
--- a/src/library/scala/Product19.scala
+++ b/src/library/scala/Product19.scala
@@ -7,7 +7,7 @@
** |/ **
\* */
-// generated on Mon Nov 27 15:01:28 CET 2006
+// generated on Tue Nov 28 14:03:53 CET 2006
package scala
import Predef._
@@ -23,30 +23,31 @@ trait Product19 [+T1, +T2, +T3, +T4, +T5, +T6, +T7, +T8, +T9, +T10, +T11, +T12,
override def arity = 19
/**
- * Returns the n-th projection of this product if 0<n<=arity, otherwise null
+ * Returns the n-th projection of this product if 0<=n<arity, otherwise null
* @param n number of the projection to be returned
+ * @return same as _(n+1)
* @throws IndexOutOfBoundsException
*/
override def element(n: Int) = n match {
- case 1 => _1
- case 2 => _2
- case 3 => _3
- case 4 => _4
- case 5 => _5
- case 6 => _6
- case 7 => _7
- case 8 => _8
- case 9 => _9
- case 10 => _10
- case 11 => _11
- case 12 => _12
- case 13 => _13
- case 14 => _14
- case 15 => _15
- case 16 => _16
- case 17 => _17
- case 18 => _18
- case 19 => _19
+ case 0 => _1
+ case 1 => _2
+ case 2 => _3
+ case 3 => _4
+ case 4 => _5
+ case 5 => _6
+ case 6 => _7
+ case 7 => _8
+ case 8 => _9
+ case 9 => _10
+ case 10 => _11
+ case 11 => _12
+ case 12 => _13
+ case 13 => _14
+ case 14 => _15
+ case 15 => _16
+ case 16 => _17
+ case 17 => _18
+ case 18 => _19
case _ => throw new IndexOutOfBoundsException(n.toString())
}
diff --git a/src/library/scala/Product2.scala b/src/library/scala/Product2.scala
index f786593546..208c98d836 100644
--- a/src/library/scala/Product2.scala
+++ b/src/library/scala/Product2.scala
@@ -7,7 +7,7 @@
** |/ **
\* */
-// generated on Mon Nov 27 15:01:28 CET 2006
+// generated on Tue Nov 28 14:03:53 CET 2006
package scala
import Predef._
@@ -23,13 +23,14 @@ trait Product2 [+T1, +T2] extends Product {
override def arity = 2
/**
- * Returns the n-th projection of this product if 0<n<=arity, otherwise null
+ * Returns the n-th projection of this product if 0<=n<arity, otherwise null
* @param n number of the projection to be returned
+ * @return same as _(n+1)
* @throws IndexOutOfBoundsException
*/
override def element(n: Int) = n match {
- case 1 => _1
- case 2 => _2
+ case 0 => _1
+ case 1 => _2
case _ => throw new IndexOutOfBoundsException(n.toString())
}
diff --git a/src/library/scala/Product20.scala b/src/library/scala/Product20.scala
index 0994c1d21e..51bdf7057c 100644
--- a/src/library/scala/Product20.scala
+++ b/src/library/scala/Product20.scala
@@ -7,7 +7,7 @@
** |/ **
\* */
-// generated on Mon Nov 27 15:01:28 CET 2006
+// generated on Tue Nov 28 14:03:53 CET 2006
package scala
import Predef._
@@ -23,31 +23,32 @@ trait Product20 [+T1, +T2, +T3, +T4, +T5, +T6, +T7, +T8, +T9, +T10, +T11, +T12,
override def arity = 20
/**
- * Returns the n-th projection of this product if 0<n<=arity, otherwise null
+ * Returns the n-th projection of this product if 0<=n<arity, otherwise null
* @param n number of the projection to be returned
+ * @return same as _(n+1)
* @throws IndexOutOfBoundsException
*/
override def element(n: Int) = n match {
- case 1 => _1
- case 2 => _2
- case 3 => _3
- case 4 => _4
- case 5 => _5
- case 6 => _6
- case 7 => _7
- case 8 => _8
- case 9 => _9
- case 10 => _10
- case 11 => _11
- case 12 => _12
- case 13 => _13
- case 14 => _14
- case 15 => _15
- case 16 => _16
- case 17 => _17
- case 18 => _18
- case 19 => _19
- case 20 => _20
+ case 0 => _1
+ case 1 => _2
+ case 2 => _3
+ case 3 => _4
+ case 4 => _5
+ case 5 => _6
+ case 6 => _7
+ case 7 => _8
+ case 8 => _9
+ case 9 => _10
+ case 10 => _11
+ case 11 => _12
+ case 12 => _13
+ case 13 => _14
+ case 14 => _15
+ case 15 => _16
+ case 16 => _17
+ case 17 => _18
+ case 18 => _19
+ case 19 => _20
case _ => throw new IndexOutOfBoundsException(n.toString())
}
diff --git a/src/library/scala/Product21.scala b/src/library/scala/Product21.scala
index 29f34cf24a..697b05ad73 100644
--- a/src/library/scala/Product21.scala
+++ b/src/library/scala/Product21.scala
@@ -7,7 +7,7 @@
** |/ **
\* */
-// generated on Mon Nov 27 15:01:28 CET 2006
+// generated on Tue Nov 28 14:03:53 CET 2006
package scala
import Predef._
@@ -23,32 +23,33 @@ trait Product21 [+T1, +T2, +T3, +T4, +T5, +T6, +T7, +T8, +T9, +T10, +T11, +T12,
override def arity = 21
/**
- * Returns the n-th projection of this product if 0<n<=arity, otherwise null
+ * Returns the n-th projection of this product if 0<=n<arity, otherwise null
* @param n number of the projection to be returned
+ * @return same as _(n+1)
* @throws IndexOutOfBoundsException
*/
override def element(n: Int) = n match {
- case 1 => _1
- case 2 => _2
- case 3 => _3
- case 4 => _4
- case 5 => _5
- case 6 => _6
- case 7 => _7
- case 8 => _8
- case 9 => _9
- case 10 => _10
- case 11 => _11
- case 12 => _12
- case 13 => _13
- case 14 => _14
- case 15 => _15
- case 16 => _16
- case 17 => _17
- case 18 => _18
- case 19 => _19
- case 20 => _20
- case 21 => _21
+ case 0 => _1
+ case 1 => _2
+ case 2 => _3
+ case 3 => _4
+ case 4 => _5
+ case 5 => _6
+ case 6 => _7
+ case 7 => _8
+ case 8 => _9
+ case 9 => _10
+ case 10 => _11
+ case 11 => _12
+ case 12 => _13
+ case 13 => _14
+ case 14 => _15
+ case 15 => _16
+ case 16 => _17
+ case 17 => _18
+ case 18 => _19
+ case 19 => _20
+ case 20 => _21
case _ => throw new IndexOutOfBoundsException(n.toString())
}
diff --git a/src/library/scala/Product22.scala b/src/library/scala/Product22.scala
index 6402c1294a..699aaf5bd6 100644
--- a/src/library/scala/Product22.scala
+++ b/src/library/scala/Product22.scala
@@ -7,7 +7,7 @@
** |/ **
\* */
-// generated on Mon Nov 27 15:01:28 CET 2006
+// generated on Tue Nov 28 14:03:53 CET 2006
package scala
import Predef._
@@ -23,33 +23,34 @@ trait Product22 [+T1, +T2, +T3, +T4, +T5, +T6, +T7, +T8, +T9, +T10, +T11, +T12,
override def arity = 22
/**
- * Returns the n-th projection of this product if 0<n<=arity, otherwise null
+ * Returns the n-th projection of this product if 0<=n<arity, otherwise null
* @param n number of the projection to be returned
+ * @return same as _(n+1)
* @throws IndexOutOfBoundsException
*/
override def element(n: Int) = n match {
- case 1 => _1
- case 2 => _2
- case 3 => _3
- case 4 => _4
- case 5 => _5
- case 6 => _6
- case 7 => _7
- case 8 => _8
- case 9 => _9
- case 10 => _10
- case 11 => _11
- case 12 => _12
- case 13 => _13
- case 14 => _14
- case 15 => _15
- case 16 => _16
- case 17 => _17
- case 18 => _18
- case 19 => _19
- case 20 => _20
- case 21 => _21
- case 22 => _22
+ case 0 => _1
+ case 1 => _2
+ case 2 => _3
+ case 3 => _4
+ case 4 => _5
+ case 5 => _6
+ case 6 => _7
+ case 7 => _8
+ case 8 => _9
+ case 9 => _10
+ case 10 => _11
+ case 11 => _12
+ case 12 => _13
+ case 13 => _14
+ case 14 => _15
+ case 15 => _16
+ case 16 => _17
+ case 17 => _18
+ case 18 => _19
+ case 19 => _20
+ case 20 => _21
+ case 21 => _22
case _ => throw new IndexOutOfBoundsException(n.toString())
}
diff --git a/src/library/scala/Product3.scala b/src/library/scala/Product3.scala
index 3246cbf374..737c1c8fbc 100644
--- a/src/library/scala/Product3.scala
+++ b/src/library/scala/Product3.scala
@@ -7,7 +7,7 @@
** |/ **
\* */
-// generated on Mon Nov 27 15:01:28 CET 2006
+// generated on Tue Nov 28 14:03:53 CET 2006
package scala
import Predef._
@@ -23,14 +23,15 @@ trait Product3 [+T1, +T2, +T3] extends Product {
override def arity = 3
/**
- * Returns the n-th projection of this product if 0<n<=arity, otherwise null
+ * Returns the n-th projection of this product if 0<=n<arity, otherwise null
* @param n number of the projection to be returned
+ * @return same as _(n+1)
* @throws IndexOutOfBoundsException
*/
override def element(n: Int) = n match {
- case 1 => _1
- case 2 => _2
- case 3 => _3
+ case 0 => _1
+ case 1 => _2
+ case 2 => _3
case _ => throw new IndexOutOfBoundsException(n.toString())
}
diff --git a/src/library/scala/Product4.scala b/src/library/scala/Product4.scala
index 88cfe5d5cd..d8cd8b4d9a 100644
--- a/src/library/scala/Product4.scala
+++ b/src/library/scala/Product4.scala
@@ -7,7 +7,7 @@
** |/ **
\* */
-// generated on Mon Nov 27 15:01:28 CET 2006
+// generated on Tue Nov 28 14:03:53 CET 2006
package scala
import Predef._
@@ -23,15 +23,16 @@ trait Product4 [+T1, +T2, +T3, +T4] extends Product {
override def arity = 4
/**
- * Returns the n-th projection of this product if 0<n<=arity, otherwise null
+ * Returns the n-th projection of this product if 0<=n<arity, otherwise null
* @param n number of the projection to be returned
+ * @return same as _(n+1)
* @throws IndexOutOfBoundsException
*/
override def element(n: Int) = n match {
- case 1 => _1
- case 2 => _2
- case 3 => _3
- case 4 => _4
+ case 0 => _1
+ case 1 => _2
+ case 2 => _3
+ case 3 => _4
case _ => throw new IndexOutOfBoundsException(n.toString())
}
diff --git a/src/library/scala/Product5.scala b/src/library/scala/Product5.scala
index 4aa25040a7..8b63ee6114 100644
--- a/src/library/scala/Product5.scala
+++ b/src/library/scala/Product5.scala
@@ -7,7 +7,7 @@
** |/ **
\* */
-// generated on Mon Nov 27 15:01:28 CET 2006
+// generated on Tue Nov 28 14:03:53 CET 2006
package scala
import Predef._
@@ -23,16 +23,17 @@ trait Product5 [+T1, +T2, +T3, +T4, +T5] extends Product {
override def arity = 5
/**
- * Returns the n-th projection of this product if 0<n<=arity, otherwise null
+ * Returns the n-th projection of this product if 0<=n<arity, otherwise null
* @param n number of the projection to be returned
+ * @return same as _(n+1)
* @throws IndexOutOfBoundsException
*/
override def element(n: Int) = n match {
- case 1 => _1
- case 2 => _2
- case 3 => _3
- case 4 => _4
- case 5 => _5
+ case 0 => _1
+ case 1 => _2
+ case 2 => _3
+ case 3 => _4
+ case 4 => _5
case _ => throw new IndexOutOfBoundsException(n.toString())
}
diff --git a/src/library/scala/Product6.scala b/src/library/scala/Product6.scala
index e8474a35a3..6e309c1c9e 100644
--- a/src/library/scala/Product6.scala
+++ b/src/library/scala/Product6.scala
@@ -7,7 +7,7 @@
** |/ **
\* */
-// generated on Mon Nov 27 15:01:28 CET 2006
+// generated on Tue Nov 28 14:03:53 CET 2006
package scala
import Predef._
@@ -23,17 +23,18 @@ trait Product6 [+T1, +T2, +T3, +T4, +T5, +T6] extends Product {
override def arity = 6
/**
- * Returns the n-th projection of this product if 0<n<=arity, otherwise null
+ * Returns the n-th projection of this product if 0<=n<arity, otherwise null
* @param n number of the projection to be returned
+ * @return same as _(n+1)
* @throws IndexOutOfBoundsException
*/
override def element(n: Int) = n match {
- case 1 => _1
- case 2 => _2
- case 3 => _3
- case 4 => _4
- case 5 => _5
- case 6 => _6
+ case 0 => _1
+ case 1 => _2
+ case 2 => _3
+ case 3 => _4
+ case 4 => _5
+ case 5 => _6
case _ => throw new IndexOutOfBoundsException(n.toString())
}
diff --git a/src/library/scala/Product7.scala b/src/library/scala/Product7.scala
index 53786d9082..a9ac46bbb4 100644
--- a/src/library/scala/Product7.scala
+++ b/src/library/scala/Product7.scala
@@ -7,7 +7,7 @@
** |/ **
\* */
-// generated on Mon Nov 27 15:01:28 CET 2006
+// generated on Tue Nov 28 14:03:53 CET 2006
package scala
import Predef._
@@ -23,18 +23,19 @@ trait Product7 [+T1, +T2, +T3, +T4, +T5, +T6, +T7] extends Product {
override def arity = 7
/**
- * Returns the n-th projection of this product if 0<n<=arity, otherwise null
+ * Returns the n-th projection of this product if 0<=n<arity, otherwise null
* @param n number of the projection to be returned
+ * @return same as _(n+1)
* @throws IndexOutOfBoundsException
*/
override def element(n: Int) = n match {
- case 1 => _1
- case 2 => _2
- case 3 => _3
- case 4 => _4
- case 5 => _5
- case 6 => _6
- case 7 => _7
+ case 0 => _1
+ case 1 => _2
+ case 2 => _3
+ case 3 => _4
+ case 4 => _5
+ case 5 => _6
+ case 6 => _7
case _ => throw new IndexOutOfBoundsException(n.toString())
}
diff --git a/src/library/scala/Product8.scala b/src/library/scala/Product8.scala
index 38d817070c..0bed89d5f5 100644
--- a/src/library/scala/Product8.scala
+++ b/src/library/scala/Product8.scala
@@ -7,7 +7,7 @@
** |/ **
\* */
-// generated on Mon Nov 27 15:01:28 CET 2006
+// generated on Tue Nov 28 14:03:53 CET 2006
package scala
import Predef._
@@ -23,19 +23,20 @@ trait Product8 [+T1, +T2, +T3, +T4, +T5, +T6, +T7, +T8] extends Product {
override def arity = 8
/**
- * Returns the n-th projection of this product if 0<n<=arity, otherwise null
+ * Returns the n-th projection of this product if 0<=n<arity, otherwise null
* @param n number of the projection to be returned
+ * @return same as _(n+1)
* @throws IndexOutOfBoundsException
*/
override def element(n: Int) = n match {
- case 1 => _1
- case 2 => _2
- case 3 => _3
- case 4 => _4
- case 5 => _5
- case 6 => _6
- case 7 => _7
- case 8 => _8
+ case 0 => _1
+ case 1 => _2
+ case 2 => _3
+ case 3 => _4
+ case 4 => _5
+ case 5 => _6
+ case 6 => _7
+ case 7 => _8
case _ => throw new IndexOutOfBoundsException(n.toString())
}
diff --git a/src/library/scala/Product9.scala b/src/library/scala/Product9.scala
index a12d72c1ec..a07157ba6b 100644
--- a/src/library/scala/Product9.scala
+++ b/src/library/scala/Product9.scala
@@ -7,7 +7,7 @@
** |/ **
\* */
-// generated on Mon Nov 27 15:01:28 CET 2006
+// generated on Tue Nov 28 14:03:53 CET 2006
package scala
import Predef._
@@ -23,20 +23,21 @@ trait Product9 [+T1, +T2, +T3, +T4, +T5, +T6, +T7, +T8, +T9] extends Product {
override def arity = 9
/**
- * Returns the n-th projection of this product if 0<n<=arity, otherwise null
+ * Returns the n-th projection of this product if 0<=n<arity, otherwise null
* @param n number of the projection to be returned
+ * @return same as _(n+1)
* @throws IndexOutOfBoundsException
*/
override def element(n: Int) = n match {
- case 1 => _1
- case 2 => _2
- case 3 => _3
- case 4 => _4
- case 5 => _5
- case 6 => _6
- case 7 => _7
- case 8 => _8
- case 9 => _9
+ case 0 => _1
+ case 1 => _2
+ case 2 => _3
+ case 3 => _4
+ case 4 => _5
+ case 5 => _6
+ case 6 => _7
+ case 7 => _8
+ case 8 => _9
case _ => throw new IndexOutOfBoundsException(n.toString())
}
diff --git a/src/library/scala/Tuple1.scala b/src/library/scala/Tuple1.scala
index cee9981954..7e5c91c34a 100644
--- a/src/library/scala/Tuple1.scala
+++ b/src/library/scala/Tuple1.scala
@@ -9,7 +9,7 @@
// $Id$
-// generated on Mon Nov 27 15:01:28 CET 2006
+// generated on Tue Nov 28 14:03:53 CET 2006
package scala;
/** Tuple1 is the canonical representation of a @see Product1 */
diff --git a/src/library/scala/Tuple2.scala b/src/library/scala/Tuple2.scala
index b59f987417..1f983a378b 100644
--- a/src/library/scala/Tuple2.scala
+++ b/src/library/scala/Tuple2.scala
@@ -9,7 +9,7 @@
// $Id$
-// generated on Mon Nov 27 15:01:28 CET 2006
+// generated on Tue Nov 28 14:03:53 CET 2006
package scala;
/** Tuple2 is the canonical representation of a @see Product2 */
diff --git a/src/library/scala/Tuple3.scala b/src/library/scala/Tuple3.scala
index a24b01aa94..029ee32b9b 100644
--- a/src/library/scala/Tuple3.scala
+++ b/src/library/scala/Tuple3.scala
@@ -9,7 +9,7 @@
// $Id$
-// generated on Mon Nov 27 15:01:28 CET 2006
+// generated on Tue Nov 28 14:03:53 CET 2006
package scala;
/** Tuple3 is the canonical representation of a @see Product3 */
diff --git a/src/library/scala/Tuple4.scala b/src/library/scala/Tuple4.scala
index 2e720b26c3..396bbdbd2f 100644
--- a/src/library/scala/Tuple4.scala
+++ b/src/library/scala/Tuple4.scala
@@ -9,7 +9,7 @@
// $Id$
-// generated on Mon Nov 27 15:01:28 CET 2006
+// generated on Tue Nov 28 14:03:53 CET 2006
package scala;
/** Tuple4 is the canonical representation of a @see Product4 */
diff --git a/src/library/scala/Tuple5.scala b/src/library/scala/Tuple5.scala
index 5e880b855a..356c239738 100644
--- a/src/library/scala/Tuple5.scala
+++ b/src/library/scala/Tuple5.scala
@@ -9,7 +9,7 @@
// $Id$
-// generated on Mon Nov 27 15:01:28 CET 2006
+// generated on Tue Nov 28 14:03:53 CET 2006
package scala;
/** Tuple5 is the canonical representation of a @see Product5 */
diff --git a/src/library/scala/Tuple6.scala b/src/library/scala/Tuple6.scala
index 9eb9ebd746..fd3f7590c1 100644
--- a/src/library/scala/Tuple6.scala
+++ b/src/library/scala/Tuple6.scala
@@ -9,7 +9,7 @@
// $Id$
-// generated on Mon Nov 27 15:01:28 CET 2006
+// generated on Tue Nov 28 14:03:53 CET 2006
package scala;
/** Tuple6 is the canonical representation of a @see Product6 */
diff --git a/src/library/scala/Tuple7.scala b/src/library/scala/Tuple7.scala
index 80c5022e52..ec0ae60c22 100644
--- a/src/library/scala/Tuple7.scala
+++ b/src/library/scala/Tuple7.scala
@@ -9,7 +9,7 @@
// $Id$
-// generated on Mon Nov 27 15:01:28 CET 2006
+// generated on Tue Nov 28 14:03:53 CET 2006
package scala;
/** Tuple7 is the canonical representation of a @see Product7 */
diff --git a/src/library/scala/Tuple8.scala b/src/library/scala/Tuple8.scala
index db4e2acb5b..f0065f0a21 100644
--- a/src/library/scala/Tuple8.scala
+++ b/src/library/scala/Tuple8.scala
@@ -9,7 +9,7 @@
// $Id$
-// generated on Mon Nov 27 15:01:28 CET 2006
+// generated on Tue Nov 28 14:03:53 CET 2006
package scala;
/** Tuple8 is the canonical representation of a @see Product8 */