| 
 | 
          Scala 1.3.0.7 | |||
Ordered[T] trait.
  | Method Summary | |
| def ++=(iter: Iterable[A]): UnitAdds all elements provided by an Iterableobject
  into the priority queue. | |
| def ++=(it: Iterator[A]): UnitAdds all elements provided by an iterator into the priority queue. | |
| def +=(elem: A): UnitInserts a single element into the priority queue. | |
| def clear: UnitRemoves all elements from the queue. | |
| 
        override | def clone(): PriorityQueue[A]This method clones the priority queue. | 
| def dequeue: AReturns the element with the highest priority in the queue, and removes this element from the queue. | |
| 
        override | def elements: Iterator[A]Returns an iterator which yiels all the elements of the priority queue in descending priority order. | 
| def enqueue(elems: A*): UnitAdds all elements to the queue. | |
| 
        override | def equals(that: Any): BooleanChecks if two queues are structurally identical. | 
| 
        protected | def fixDown(as: Array[A], m: Int, n: Int): Unit | 
| 
        protected | def fixUp(as: Array[A], m: Int): Unit | 
| 
        override | def hashCode(): IntThe hashCode method always yields an error, since it is not safe to use mutable queues as keys in hash tables. | 
| def isEmpty: BooleanChecks if the queue is empty. | |
| def max: AReturns the element with the highest priority in the queue, or throws an error if there is no element contained in the queue. | |
| def toList: List[A]Returns a list of all elements. | |
| def toQueue: Queue[A]Returns a regular queue containing the same elements. | |
| 
        override | def toString(): StringReturns a textual representation of a queue as a string. | 
| Methods inherited from java/lang/Object-class | 
| eq, finalize, getClass, notify, notifyAll, synchronized, wait, wait, wait | 
| Methods inherited from scala/Any-class | 
| !=, ==, asInstanceOf, isInstanceOf, match | 
| Methods inherited from scala/Iterable-class | 
| /:, :\, exists, find, foldLeft, foldRight, forall, foreach, sameElements | 
| Methods inherited from scala/ScalaObject-class | 
| getType | 
| Methods inherited from scala/collection/mutable/ResizableArray-class | 
| array, copy, ensureSize, initialSize, length, size, swap | 
| Method Detail | 
protected def fixUp(as: Array[A], m: Int): Unit
protected def fixDown(as: Array[A], m: Int, n: Int): Unit
def isEmpty: Boolean
def +=(elem: A): Unit
elem - 
  the element to insert
     
  def ++=(iter: Iterable[A]): Unit
Iterable object
  into the priority queue.
iter - 
  an iterable object
     
  def ++=(it: Iterator[A]): Unit
it - 
  an iterator
     
  def enqueue(elems: A*): Unit
elems - 
  the elements to add.
     
  def dequeue: A
def max: A
def clear: Unit
override def elements: Iterator[A]
override def equals(that: Any): Boolean
override def hashCode(): Int
def toQueue: Queue[A]
def toList: List[A]
override def toString(): String
override def clone(): PriorityQueue[A]
| 
 | 
          Scala 1.3.0.7 | |||