summaryrefslogtreecommitdiff
path: root/src/library/scala/collection/mutable/PriorityQueueProxy.scala
diff options
context:
space:
mode:
authormihaylov <mihaylov@epfl.ch>2006-03-03 14:32:42 +0000
committermihaylov <mihaylov@epfl.ch>2006-03-03 14:32:42 +0000
commitd7007f7a9607481eb73b8df587e3c52cf4272147 (patch)
treebd7a2af714fa1f12f38a3f1172c4001dde78f558 /src/library/scala/collection/mutable/PriorityQueueProxy.scala
parent91a9821f91d9953eaa14d09c18041ed3fdb4f0bb (diff)
downloadscala-d7007f7a9607481eb73b8df587e3c52cf4272147.tar.gz
scala-d7007f7a9607481eb73b8df587e3c52cf4272147.tar.bz2
scala-d7007f7a9607481eb73b8df587e3c52cf4272147.zip
Use 'mixin class' instead of 'trait'
Diffstat (limited to 'src/library/scala/collection/mutable/PriorityQueueProxy.scala')
-rw-r--r--src/library/scala/collection/mutable/PriorityQueueProxy.scala6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/library/scala/collection/mutable/PriorityQueueProxy.scala b/src/library/scala/collection/mutable/PriorityQueueProxy.scala
index 3e5b837f29..04340bd3b0 100644
--- a/src/library/scala/collection/mutable/PriorityQueueProxy.scala
+++ b/src/library/scala/collection/mutable/PriorityQueueProxy.scala
@@ -14,12 +14,14 @@ package scala.collection.mutable;
/** This class implements priority queues using a heap. The
* elements of the queue have to be ordered in terms of the
- * <code>Ordered[T]</code> trait.
+ * <code>Ordered[T]</code> class.
*
* @author Matthias Zenger
* @version 1.0, 03/05/2004
*/
-abstract class PriorityQueueProxy[A <% Ordered[A]] extends PriorityQueue[A] with IterableProxy[A] {
+abstract class PriorityQueueProxy[A <% Ordered[A]] extends PriorityQueue[A]
+ with IterableProxy[A]
+{
def self: PriorityQueue[A];