diff options
Diffstat (limited to 'src/library/scala/Tuple2.scala')
-rw-r--r-- | src/library/scala/Tuple2.scala | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/library/scala/Tuple2.scala b/src/library/scala/Tuple2.scala index 7fea22410d..ee2fe84482 100644 --- a/src/library/scala/Tuple2.scala +++ b/src/library/scala/Tuple2.scala @@ -8,7 +8,7 @@ // $Id$ -// generated by genprod on Sun Jan 17 19:38:09 PST 2010 (with extra methods) +// generated by genprod on Mon Apr 12 15:28:18 CEST 2010 (with extra methods) package scala @@ -16,11 +16,12 @@ import scala.collection.{TraversableLike, IterableLike} import scala.collection.generic.CanBuildFrom + + /** Tuple2 is the canonical representation of a @see Product2 * */ -case class Tuple2[@specialized(Int, Long, Double) +T1, - @specialized(Int, Long, Double) +T2](_1:T1,_2:T2) +case class Tuple2[@specialized(Int, Long, Double) +T1, @specialized(Int, Long, Double) +T2](_1:T1,_2:T2) extends Product2[T1, T2] { override def toString() = "(" + _1 + "," + _2 + ")" @@ -122,4 +123,5 @@ case class Tuple2[@specialized(Int, Long, Double) +T1, f(el1, elems2.next) } } + } |