diff options
author | stepancheg <stepancheg@epfl.ch> | 2008-06-27 09:22:09 +0000 |
---|---|---|
committer | stepancheg <stepancheg@epfl.ch> | 2008-06-27 09:22:09 +0000 |
commit | 73006bc163947638aecd20d1b0be31467625751f (patch) | |
tree | 1c94638b5ac360b5ab2b67a1061abdffd03dc6dc /src/library/scala/collection/mutable/PriorityQueueProxy.scala | |
parent | fffb8c10317cc92524b52c8d353df034b0bedff5 (diff) | |
download | scala-73006bc163947638aecd20d1b0be31467625751f.tar.gz scala-73006bc163947638aecd20d1b0be31467625751f.tar.bz2 scala-73006bc163947638aecd20d1b0be31467625751f.zip |
Add RandomAccessSeqProxy
Diffstat (limited to 'src/library/scala/collection/mutable/PriorityQueueProxy.scala')
-rw-r--r-- | src/library/scala/collection/mutable/PriorityQueueProxy.scala | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/library/scala/collection/mutable/PriorityQueueProxy.scala b/src/library/scala/collection/mutable/PriorityQueueProxy.scala index 83b84cef07..ac0742cfc0 100644 --- a/src/library/scala/collection/mutable/PriorityQueueProxy.scala +++ b/src/library/scala/collection/mutable/PriorityQueueProxy.scala @@ -20,7 +20,7 @@ package scala.collection.mutable * @version 1.0, 03/05/2004 */ abstract class PriorityQueueProxy[A <% Ordered[A]] extends PriorityQueue[A] - with SeqProxy[A] + with RandomAccessSeqProxy[A] { def self: PriorityQueue[A] @@ -90,10 +90,6 @@ abstract class PriorityQueueProxy[A <% Ordered[A]] extends PriorityQueue[A] */ override def toQueue: Queue[A] = self.toQueue - override def take(until : Int) = self take until - override def drop(from : Int) = self drop from - override def slice(from : Int, until : Int) = self.slice(from, until) - /** This method clones the priority queue. * * @return a priority queue with the same elements. |