diff options
Diffstat (limited to 'src/library/scala/Product5.scala')
-rw-r--r-- | src/library/scala/Product5.scala | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/src/library/scala/Product5.scala b/src/library/scala/Product5.scala index 164f853028..3abb11e8ba 100644 --- a/src/library/scala/Product5.scala +++ b/src/library/scala/Product5.scala @@ -1,13 +1,16 @@ /* __ *\ ** ________ ___ / / ___ Scala API ** -** / __/ __// _ | / / / _ | (c) 2002-2006, LAMP/EPFL ** +** / __/ __// _ | / / / _ | (c) 2002-2007, LAMP/EPFL ** ** __\ \/ /__/ __ |/ /__/ __ | ** ** /____/\___/_/ |_/____/_/ | | ** ** |/ ** \* */ -// generated on Tue Nov 28 17:25:56 CET 2006 +// $Id: genprod.scala 9429 2006-11-30 10:17:30Z michelou $ + +// generated by genprod on Fri Dec 08 20:07:08 CET 2006 + package scala import Predef._ @@ -19,7 +22,7 @@ object Product5 { /** Product5 is a cartesian product of 5 components */ -trait Product5 [+T1, +T2, +T3, +T4, +T5] extends Product { +trait Product5[+T1, +T2, +T3, +T4, +T5] extends Product { /** * The arity of this product. @@ -28,10 +31,12 @@ 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 + * @return same as _(n+1) + * @throws IndexOutOfBoundsException */ override def element(n: Int) = n match { case 0 => _1 |