diff options
author | buraq <buraq@epfl.ch> | 2004-04-14 15:27:42 +0000 |
---|---|---|
committer | buraq <buraq@epfl.ch> | 2004-04-14 15:27:42 +0000 |
commit | a55fdce8994638050c474901420f7e4fb4bddb72 (patch) | |
tree | 531e2e1d39f84a55a9740be45fa8fb9fd91a754c /sources | |
parent | 3ec2af254866c60389b3fd304c14d1137b9cf4c8 (diff) | |
download | scala-a55fdce8994638050c474901420f7e4fb4bddb72.tar.gz scala-a55fdce8994638050c474901420f7e4fb4bddb72.tar.bz2 scala-a55fdce8994638050c474901420f7e4fb4bddb72.zip |
removed Similarity
Diffstat (limited to 'sources')
-rw-r--r-- | sources/scala/Seq.scala | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sources/scala/Seq.scala b/sources/scala/Seq.scala index 0a7f4bc7ba..e9b157b696 100644 --- a/sources/scala/Seq.scala +++ b/sources/scala/Seq.scala @@ -17,7 +17,7 @@ package scala; * @author Matthias Zenger * @version 1.0, 16/07/2003 */ -trait Seq[+A] with PartialFunction[Int, A] with Iterable[A] with Similarity { +trait Seq[+A] with PartialFunction[Int, A] with Iterable[A] { /** Returns the length of the sequence. * @@ -112,8 +112,7 @@ trait Seq[+A] with PartialFunction[Int, A] with Iterable[A] with Similarity { /** Returns true if the elements in this sequence are equal * to the elements in another sequence - */ - def similar(x: Any): Boolean = { + def similar(x: Any): Boolean = { // WEG x.match { case that: Seq[A] => (that.length == this.length) && sameElements(that) @@ -121,6 +120,7 @@ trait Seq[+A] with PartialFunction[Int, A] with Iterable[A] with Similarity { false } } + */ /** Customizes the <code>toString</code> method. * |