diff options
Diffstat (limited to 'sources/scala/Tuple7.scala')
-rw-r--r-- | sources/scala/Tuple7.scala | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/sources/scala/Tuple7.scala b/sources/scala/Tuple7.scala new file mode 100644 index 0000000000..ea45d666dd --- /dev/null +++ b/sources/scala/Tuple7.scala @@ -0,0 +1,24 @@ +// 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 + ")"; + } +} |