- Removed Tuple*.scala
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@249 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
This commit is contained in:
parent
f909aacad4
commit
ffc7462c8c
|
@ -1,24 +0,0 @@
|
|||
// DO NOT EDIT. Automatically generated file!
|
||||
|
||||
/* __ *\
|
||||
** ________ ___ / / ___ Scala API **
|
||||
** / __/ __// _ | / / / _ | (c) 2002, LAMP/EPFL **
|
||||
** __\ \/ /__/ __ |/ /__/ __ | **
|
||||
** /____/\___/_/ |_/____/_/ | | **
|
||||
** |/ **
|
||||
\* */
|
||||
|
||||
package scala {
|
||||
case class Tuple1[T1](_1: T1) extends scala.Object with {
|
||||
|
||||
override def hashCode() = _1.hashCode();
|
||||
|
||||
override def == (other: Any) =
|
||||
if (other is Tuple1[T1]) {
|
||||
val that = other as Tuple1[T1];
|
||||
(_1 == that._1)
|
||||
} else Boolean.False;
|
||||
|
||||
override def toString() = "[" + _1 + "]";
|
||||
}
|
||||
}
|
|
@ -1,24 +0,0 @@
|
|||
// DO NOT EDIT. Automatically generated file!
|
||||
|
||||
/* __ *\
|
||||
** ________ ___ / / ___ Scala API **
|
||||
** / __/ __// _ | / / / _ | (c) 2002, LAMP/EPFL **
|
||||
** __\ \/ /__/ __ |/ /__/ __ | **
|
||||
** /____/\___/_/ |_/____/_/ | | **
|
||||
** |/ **
|
||||
\* */
|
||||
|
||||
package scala {
|
||||
case class Tuple2[T1, T2](_1: T1, _2: T2) extends scala.Object with {
|
||||
|
||||
override def hashCode() = _1.hashCode() ^ _2.hashCode();
|
||||
|
||||
override def == (other: Any) =
|
||||
if (other is Tuple2[T1, T2]) {
|
||||
val that = other as Tuple2[T1, T2];
|
||||
(_1 == that._1) && (_2 == that._2)
|
||||
} else Boolean.False;
|
||||
|
||||
override def toString() = "(" + _1 + "," + _2 + ")";
|
||||
}
|
||||
}
|
|
@ -1,24 +0,0 @@
|
|||
// DO NOT EDIT. Automatically generated file!
|
||||
|
||||
/* __ *\
|
||||
** ________ ___ / / ___ Scala API **
|
||||
** / __/ __// _ | / / / _ | (c) 2002, LAMP/EPFL **
|
||||
** __\ \/ /__/ __ |/ /__/ __ | **
|
||||
** /____/\___/_/ |_/____/_/ | | **
|
||||
** |/ **
|
||||
\* */
|
||||
|
||||
package scala {
|
||||
case class Tuple3[T1, T2, T3](_1: T1, _2: T2, _3: T3) extends scala.Object with {
|
||||
|
||||
override def hashCode() = _1.hashCode() ^ _2.hashCode() ^ _3.hashCode();
|
||||
|
||||
override def == (other: Any) =
|
||||
if (other is Tuple3[T1, T2, T3]) {
|
||||
val that = other as Tuple3[T1, T2, T3];
|
||||
(_1 == that._1) && (_2 == that._2) && (_3 == that._3)
|
||||
} else Boolean.False;
|
||||
|
||||
override def toString() = "(" + _1 + "," + _2 + "," + _3 + ")";
|
||||
}
|
||||
}
|
|
@ -1,24 +0,0 @@
|
|||
// DO NOT EDIT. Automatically generated file!
|
||||
|
||||
/* __ *\
|
||||
** ________ ___ / / ___ Scala API **
|
||||
** / __/ __// _ | / / / _ | (c) 2002, LAMP/EPFL **
|
||||
** __\ \/ /__/ __ |/ /__/ __ | **
|
||||
** /____/\___/_/ |_/____/_/ | | **
|
||||
** |/ **
|
||||
\* */
|
||||
|
||||
package scala {
|
||||
case class Tuple4[T1, T2, T3, T4](_1: T1, _2: T2, _3: T3, _4: T4) extends scala.Object with {
|
||||
|
||||
override def hashCode() = _1.hashCode() ^ _2.hashCode() ^ _3.hashCode() ^ _4.hashCode();
|
||||
|
||||
override def == (other: Any) =
|
||||
if (other is Tuple4[T1, T2, T3, T4]) {
|
||||
val that = other as Tuple4[T1, T2, T3, T4];
|
||||
(_1 == that._1) && (_2 == that._2) && (_3 == that._3) && (_4 == that._4)
|
||||
} else Boolean.False;
|
||||
|
||||
override def toString() = "(" + _1 + "," + _2 + "," + _3 + "," + _4 + ")";
|
||||
}
|
||||
}
|
|
@ -1,24 +0,0 @@
|
|||
// DO NOT EDIT. Automatically generated file!
|
||||
|
||||
/* __ *\
|
||||
** ________ ___ / / ___ Scala API **
|
||||
** / __/ __// _ | / / / _ | (c) 2002, LAMP/EPFL **
|
||||
** __\ \/ /__/ __ |/ /__/ __ | **
|
||||
** /____/\___/_/ |_/____/_/ | | **
|
||||
** |/ **
|
||||
\* */
|
||||
|
||||
package scala {
|
||||
case class Tuple5[T1, T2, T3, T4, T5](_1: T1, _2: T2, _3: T3, _4: T4, _5: T5) extends scala.Object with {
|
||||
|
||||
override def hashCode() = _1.hashCode() ^ _2.hashCode() ^ _3.hashCode() ^ _4.hashCode() ^ _5.hashCode();
|
||||
|
||||
override def == (other: Any) =
|
||||
if (other is Tuple5[T1, T2, T3, T4, T5]) {
|
||||
val that = other as Tuple5[T1, T2, T3, T4, T5];
|
||||
(_1 == that._1) && (_2 == that._2) && (_3 == that._3) && (_4 == that._4) && (_5 == that._5)
|
||||
} else Boolean.False;
|
||||
|
||||
override def toString() = "(" + _1 + "," + _2 + "," + _3 + "," + _4 + "," + _5 + ")";
|
||||
}
|
||||
}
|
|
@ -1,24 +0,0 @@
|
|||
// DO NOT EDIT. Automatically generated file!
|
||||
|
||||
/* __ *\
|
||||
** ________ ___ / / ___ Scala API **
|
||||
** / __/ __// _ | / / / _ | (c) 2002, LAMP/EPFL **
|
||||
** __\ \/ /__/ __ |/ /__/ __ | **
|
||||
** /____/\___/_/ |_/____/_/ | | **
|
||||
** |/ **
|
||||
\* */
|
||||
|
||||
package scala {
|
||||
case class Tuple6[T1, T2, T3, T4, T5, T6](_1: T1, _2: T2, _3: T3, _4: T4, _5: T5, _6: T6) extends scala.Object with {
|
||||
|
||||
override def hashCode() = _1.hashCode() ^ _2.hashCode() ^ _3.hashCode() ^ _4.hashCode() ^ _5.hashCode() ^ _6.hashCode();
|
||||
|
||||
override def == (other: Any) =
|
||||
if (other is Tuple6[T1, T2, T3, T4, T5, T6]) {
|
||||
val that = other as Tuple6[T1, T2, T3, T4, T5, T6];
|
||||
(_1 == that._1) && (_2 == that._2) && (_3 == that._3) && (_4 == that._4) && (_5 == that._5) && (_6 == that._6)
|
||||
} else Boolean.False;
|
||||
|
||||
override def toString() = "(" + _1 + "," + _2 + "," + _3 + "," + _4 + "," + _5 + "," + _6 + ")";
|
||||
}
|
||||
}
|
|
@ -1,24 +0,0 @@
|
|||
// DO NOT EDIT. Automatically generated file!
|
||||
|
||||
/* __ *\
|
||||
** ________ ___ / / ___ Scala API **
|
||||
** / __/ __// _ | / / / _ | (c) 2002, LAMP/EPFL **
|
||||
** __\ \/ /__/ __ |/ /__/ __ | **
|
||||
** /____/\___/_/ |_/____/_/ | | **
|
||||
** |/ **
|
||||
\* */
|
||||
|
||||
package scala {
|
||||
case class Tuple7[T1, T2, T3, T4, T5, T6, T7](_1: T1, _2: T2, _3: T3, _4: T4, _5: T5, _6: T6, _7: T7) extends scala.Object with {
|
||||
|
||||
override def hashCode() = _1.hashCode() ^ _2.hashCode() ^ _3.hashCode() ^ _4.hashCode() ^ _5.hashCode() ^ _6.hashCode() ^ _7.hashCode();
|
||||
|
||||
override def == (other: Any) =
|
||||
if (other is Tuple7[T1, T2, T3, T4, T5, T6, T7]) {
|
||||
val that = other as Tuple7[T1, T2, T3, T4, T5, T6, T7];
|
||||
(_1 == that._1) && (_2 == that._2) && (_3 == that._3) && (_4 == that._4) && (_5 == that._5) && (_6 == that._6) && (_7 == that._7)
|
||||
} else Boolean.False;
|
||||
|
||||
override def toString() = "(" + _1 + "," + _2 + "," + _3 + "," + _4 + "," + _5 + "," + _6 + "," + _7 + ")";
|
||||
}
|
||||
}
|
|
@ -1,24 +0,0 @@
|
|||
// DO NOT EDIT. Automatically generated file!
|
||||
|
||||
/* __ *\
|
||||
** ________ ___ / / ___ Scala API **
|
||||
** / __/ __// _ | / / / _ | (c) 2002, LAMP/EPFL **
|
||||
** __\ \/ /__/ __ |/ /__/ __ | **
|
||||
** /____/\___/_/ |_/____/_/ | | **
|
||||
** |/ **
|
||||
\* */
|
||||
|
||||
package scala {
|
||||
case class Tuple8[T1, T2, T3, T4, T5, T6, T7, T8](_1: T1, _2: T2, _3: T3, _4: T4, _5: T5, _6: T6, _7: T7, _8: T8) extends scala.Object with {
|
||||
|
||||
override def hashCode() = _1.hashCode() ^ _2.hashCode() ^ _3.hashCode() ^ _4.hashCode() ^ _5.hashCode() ^ _6.hashCode() ^ _7.hashCode() ^ _8.hashCode();
|
||||
|
||||
override def == (other: Any) =
|
||||
if (other is Tuple8[T1, T2, T3, T4, T5, T6, T7, T8]) {
|
||||
val that = other as Tuple8[T1, T2, T3, T4, T5, T6, T7, T8];
|
||||
(_1 == that._1) && (_2 == that._2) && (_3 == that._3) && (_4 == that._4) && (_5 == that._5) && (_6 == that._6) && (_7 == that._7) && (_8 == that._8)
|
||||
} else Boolean.False;
|
||||
|
||||
override def toString() = "(" + _1 + "," + _2 + "," + _3 + "," + _4 + "," + _5 + "," + _6 + "," + _7 + "," + _8 + ")";
|
||||
}
|
||||
}
|
|
@ -1,24 +0,0 @@
|
|||
// DO NOT EDIT. Automatically generated file!
|
||||
|
||||
/* __ *\
|
||||
** ________ ___ / / ___ Scala API **
|
||||
** / __/ __// _ | / / / _ | (c) 2002, LAMP/EPFL **
|
||||
** __\ \/ /__/ __ |/ /__/ __ | **
|
||||
** /____/\___/_/ |_/____/_/ | | **
|
||||
** |/ **
|
||||
\* */
|
||||
|
||||
package scala {
|
||||
case class Tuple9[T1, T2, T3, T4, T5, T6, T7, T8, T9](_1: T1, _2: T2, _3: T3, _4: T4, _5: T5, _6: T6, _7: T7, _8: T8, _9: T9) extends scala.Object with {
|
||||
|
||||
override def hashCode() = _1.hashCode() ^ _2.hashCode() ^ _3.hashCode() ^ _4.hashCode() ^ _5.hashCode() ^ _6.hashCode() ^ _7.hashCode() ^ _8.hashCode() ^ _9.hashCode();
|
||||
|
||||
override def == (other: Any) =
|
||||
if (other is Tuple9[T1, T2, T3, T4, T5, T6, T7, T8, T9]) {
|
||||
val that = other as Tuple9[T1, T2, T3, T4, T5, T6, T7, T8, T9];
|
||||
(_1 == that._1) && (_2 == that._2) && (_3 == that._3) && (_4 == that._4) && (_5 == that._5) && (_6 == that._6) && (_7 == that._7) && (_8 == that._8) && (_9 == that._9)
|
||||
} else Boolean.False;
|
||||
|
||||
override def toString() = "(" + _1 + "," + _2 + "," + _3 + "," + _4 + "," + _5 + "," + _6 + "," + _7 + "," + _8 + "," + _9 + ")";
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue