diff options
Diffstat (limited to 'src/library/scala/Product6.scala')
-rw-r--r-- | src/library/scala/Product6.scala | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/src/library/scala/Product6.scala b/src/library/scala/Product6.scala index 0e125653c3..4ec0479ae8 100644 --- a/src/library/scala/Product6.scala +++ b/src/library/scala/Product6.scala @@ -7,17 +7,17 @@ ** |/ ** \* */ -// $Id: genprod.scala 9494 2006-12-11 11:35:38Z odersky $ +// $Id$ -// generated by genprod on Tue Dec 12 11:32:13 CET 2006 +// generated by genprod on Tue Jan 02 15:19:32 CET 2007 package scala import Predef._ object Product6 { - def unapply[T1, T2, T3, T4, T5, T6](x:Any): Option[Product6[T1, T2, T3, T4, T5, T6]] = - if(x.isInstanceOf[Product6[T1, T2, T3, T4, T5, T6]]) Some(x.asInstanceOf[Product6[T1, T2, T3, T4, T5, T6]]) else None + def unapply[T1, T2, T3, T4, T5, T6](x: Product6[T1, T2, T3, T4, T5, T6]): Some[Product6[T1, T2, T3, T4, T5, T6]] = + Some(x) } /** Product6 is a cartesian product of 6 components @@ -49,22 +49,22 @@ trait Product6[+T1, +T2, +T3, +T4, +T5, +T6] extends Product { } /** projection of this product */ - def _1:T1 + def _1: T1 - /** projection of this product */ - def _2:T2 +/** projection of this product */ + def _2: T2 - /** projection of this product */ - def _3:T3 +/** projection of this product */ + def _3: T3 - /** projection of this product */ - def _4:T4 +/** projection of this product */ + def _4: T4 - /** projection of this product */ - def _5:T5 +/** projection of this product */ + def _5: T5 - /** projection of this product */ - def _6:T6 +/** projection of this product */ + def _6: T6 } |