diff options
author | Paul Phillips <paulp@improving.org> | 2009-06-17 21:23:05 +0000 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2009-06-17 21:23:05 +0000 |
commit | e58673295a780ab7e9e2098a907df3466866a300 (patch) | |
tree | 42f86877667555d5c91a5cceb1e852190a64dc51 /src/library/scala/Product20.scala | |
parent | cd7e1a17286cde131e93d1cb1b34dfd3e83d9d59 (diff) | |
download | scala-e58673295a780ab7e9e2098a907df3466866a300.tar.gz scala-e58673295a780ab7e9e2098a907df3466866a300.tar.bz2 scala-e58673295a780ab7e9e2098a907df3466866a300.zip |
Newly generated Tuple/Product/Function classes ...
Newly generated Tuple/Product/Function classes from new genprod, plus a
couple minor tweaks to genprod to keep tests happy.
Diffstat (limited to 'src/library/scala/Product20.scala')
-rw-r--r-- | src/library/scala/Product20.scala | 48 |
1 files changed, 23 insertions, 25 deletions
diff --git a/src/library/scala/Product20.scala b/src/library/scala/Product20.scala index ed4da144eb..71d000f394 100644 --- a/src/library/scala/Product20.scala +++ b/src/library/scala/Product20.scala @@ -1,4 +1,3 @@ - /* __ *\ ** ________ ___ / / ___ Scala API ** ** / __/ __// _ | / / / _ | (c) 2002-2009, LAMP/EPFL ** @@ -9,10 +8,11 @@ // $Id$ -// generated by genprod on Wed Apr 23 10:06:16 CEST 2008 +// generated by genprod on Wed Jun 17 14:10:05 PDT 2009 package scala + import Predef._ object Product20 { @@ -20,11 +20,10 @@ object Product20 { Some(x) } -/** Product20 is a cartesian product of 20 components +/** Product20 is a cartesian product of 20 components. * */ trait Product20[+T1, +T2, +T3, +T4, +T5, +T6, +T7, +T8, +T9, +T10, +T11, +T12, +T13, +T14, +T15, +T16, +T17, +T18, +T19, +T20] extends Product { - /** * The arity of this product. * @return 20 @@ -62,69 +61,68 @@ trait Product20[+T1, +T2, +T3, +T4, +T5, +T6, +T7, +T8, +T9, +T10, +T11, +T12, + case 18 => _19 case 19 => _20 case _ => throw new IndexOutOfBoundsException(n.toString()) - } + } /** projection of this product */ def _1: T1 -/** projection of this product */ + /** projection of this product */ def _2: T2 -/** projection of this product */ + /** projection of this product */ def _3: T3 -/** projection of this product */ + /** projection of this product */ def _4: T4 -/** projection of this product */ + /** projection of this product */ def _5: T5 -/** projection of this product */ + /** projection of this product */ def _6: T6 -/** projection of this product */ + /** projection of this product */ def _7: T7 -/** projection of this product */ + /** projection of this product */ def _8: T8 -/** projection of this product */ + /** projection of this product */ def _9: T9 -/** projection of this product */ + /** projection of this product */ def _10: T10 -/** projection of this product */ + /** projection of this product */ def _11: T11 -/** projection of this product */ + /** projection of this product */ def _12: T12 -/** projection of this product */ + /** projection of this product */ def _13: T13 -/** projection of this product */ + /** projection of this product */ def _14: T14 -/** projection of this product */ + /** projection of this product */ def _15: T15 -/** projection of this product */ + /** projection of this product */ def _16: T16 -/** projection of this product */ + /** projection of this product */ def _17: T17 -/** projection of this product */ + /** projection of this product */ def _18: T18 -/** projection of this product */ + /** projection of this product */ def _19: T19 -/** projection of this product */ + /** projection of this product */ def _20: T20 - } |