Packages

class PriorityQueue[A] extends AbstractIterable[A] with Iterable[A] with GenericOrderedTraversableTemplate[A, PriorityQueue] with IterableLike[A, PriorityQueue[A]] with Growable[A] with Builder[A, PriorityQueue[A]] with Serializable with Cloneable

The PriorityQueue class implements priority queues using a heap. To prioritize elements of type A there must be an implicit Ordering [A] available at creation.

Only the dequeue and dequeueAll methods will return methods in priority order (while removing elements from the heap). Standard collection methods including drop and iterator will remove or traverse the heap in whichever order seems most convenient.

A

type of the elements in this priority queue.

Version

1.0, 03/05/2004

Since

1

Linear Supertypes
Cloneable, Cloneable, Serializable, Serializable, Builder[A, PriorityQueue[A]], Growable[A], Clearable, GenericOrderedTraversableTemplate[A, PriorityQueue], AbstractIterable[A], Iterable[A], Traversable[A], Mutable, AbstractIterable[A], Iterable[A], IterableLike[A, PriorityQueue[A]], Equals, GenIterable[A], GenIterableLike[A, PriorityQueue[A]], AbstractTraversable[A], Traversable[A], GenTraversable[A], GenericTraversableTemplate[A, Iterable], TraversableLike[A, PriorityQueue[A]], GenTraversableLike[A, PriorityQueue[A]], Parallelizable[A, ParIterable[A]], TraversableOnce[A], GenTraversableOnce[A], FilterMonadic[A, PriorityQueue[A]], HasNewBuilder[A, scalation.util.PriorityQueue[A] @scala.annotation.unchecked.uncheckedVariance], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. PriorityQueue
  2. Cloneable
  3. Cloneable
  4. Serializable
  5. Serializable
  6. Builder
  7. Growable
  8. Clearable
  9. GenericOrderedTraversableTemplate
  10. AbstractIterable
  11. Iterable
  12. Traversable
  13. Mutable
  14. AbstractIterable
  15. Iterable
  16. IterableLike
  17. Equals
  18. GenIterable
  19. GenIterableLike
  20. AbstractTraversable
  21. Traversable
  22. GenTraversable
  23. GenericTraversableTemplate
  24. TraversableLike
  25. GenTraversableLike
  26. Parallelizable
  27. TraversableOnce
  28. GenTraversableOnce
  29. FilterMonadic
  30. HasNewBuilder
  31. AnyRef
  32. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new PriorityQueue()(implicit ord: Ordering[A])

    ord

    implicit ordering used to compare the elements of type A.

Type Members

  1. type Self = PriorityQueue[A]
    Attributes
    protected[this]
    Definition Classes
    TraversableLike
  2. class WithFilter extends FilterMonadic[A, Repr]
    Definition Classes
    TraversableLike

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. def ++(xs: GenTraversableOnce[A]): PriorityQueue[A]

    Adds all elements provided by a TraversableOnce object into the priority queue.

    Adds all elements provided by a TraversableOnce object into the priority queue.

    xs

    a traversable object.

    returns

    a new priority queue containing elements of both xs and this.

  4. def ++[B >: A, That](that: GenTraversableOnce[B])(implicit bf: CanBuildFrom[PriorityQueue[A], B, That]): That
    Definition Classes
    TraversableLike → GenTraversableLike
  5. def ++:[B >: A, That](that: Traversable[B])(implicit bf: CanBuildFrom[PriorityQueue[A], B, That]): That
    Definition Classes
    TraversableLike
  6. def ++:[B >: A, That](that: TraversableOnce[B])(implicit bf: CanBuildFrom[PriorityQueue[A], B, That]): That
    Definition Classes
    TraversableLike
  7. def ++=(xs: TraversableOnce[A]): PriorityQueue.this.type
    Definition Classes
    Growable
  8. def +=(elem: A): PriorityQueue.this.type

    Insert a single element into the priority queue.

    Insert a single element into the priority queue.

    elem

    the element to insert.

    returns

    this priority queue.

    Definition Classes
    PriorityQueue → Builder → Growable
  9. def +=(elem1: A, elem2: A, elems: A*): PriorityQueue.this.type
    Definition Classes
    Growable
  10. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  11. def addString(b: StringBuilder): StringBuilder
    Definition Classes
    TraversableOnce
  12. def addString(b: StringBuilder, sep: String): StringBuilder
    Definition Classes
    TraversableOnce
  13. def addString(b: StringBuilder, start: String, sep: String, end: String): StringBuilder
    Definition Classes
    TraversableOnce
  14. def aggregate[B](z: ⇒ B)(seqop: (B, A) ⇒ B, combop: (B, B) ⇒ B): B
    Definition Classes
    TraversableOnce → GenTraversableOnce
  15. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  16. def canEqual(that: Any): Boolean
    Definition Classes
    IterableLike → Equals
  17. def clear(): Unit

    Removes all elements from the queue.

    Removes all elements from the queue. After this operation is completed, the queue will be empty.

    Definition Classes
    PriorityQueue → Builder → Growable → Clearable
  18. def clone(): PriorityQueue[A]

    This method clones the priority queue.

    This method clones the priority queue.

    returns

    a priority queue with the same elements.

    Definition Classes
    PriorityQueue → AnyRef
  19. def collect[B, That](pf: PartialFunction[A, B])(implicit bf: CanBuildFrom[PriorityQueue[A], B, That]): That
    Definition Classes
    TraversableLike → GenTraversableLike
  20. def collectFirst[B](pf: PartialFunction[A, B]): Option[B]
    Definition Classes
    TraversableOnce
  21. def companion: GenericCompanion[Iterable]
    Definition Classes
    Iterable → Iterable → GenIterable → Traversable → Traversable → GenTraversable → GenericTraversableTemplate
  22. def copyToArray[B >: A](xs: Array[B], start: Int, len: Int): Unit
    Definition Classes
    IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
  23. def copyToArray[B >: A](xs: Array[B]): Unit
    Definition Classes
    TraversableOnce → GenTraversableOnce
  24. def copyToArray[B >: A](xs: Array[B], start: Int): Unit
    Definition Classes
    TraversableOnce → GenTraversableOnce
  25. def copyToBuffer[B >: A](dest: Buffer[B]): Unit
    Definition Classes
    TraversableOnce
  26. def count(p: (A) ⇒ Boolean): Int
    Definition Classes
    TraversableOnce → GenTraversableOnce
  27. def decreaseKey(elem: A, upElem: A): Unit

    Since the element's priority is being decreased, move it to a lower priority position (toward the back).

    Since the element's priority is being decreased, move it to a lower priority position (toward the back).

    elem

    the element to reposition

    upElem

    the update version of the element to reposition

  28. def dequeue(): A

    Returns the element with the highest priority in the queue, and removes this element from the queue.

    Returns the element with the highest priority in the queue, and removes this element from the queue. throws java.util.NoSuchElementException

    returns

    the element with the highest priority.

  29. def dequeueAll[A1 >: A, That](implicit bf: CanBuildFrom[_, A1, That]): That

    Returns all elements in the queue, and removes them from the queue.

  30. def drop(n: Int): PriorityQueue[A]
    Definition Classes
    IterableLike → TraversableLike → GenTraversableLike
  31. def dropRight(n: Int): PriorityQueue[A]
    Definition Classes
    IterableLike
  32. def dropWhile(p: (A) ⇒ Boolean): PriorityQueue[A]
    Definition Classes
    TraversableLike → GenTraversableLike
  33. def enqueue(elems: A*): Unit

    Adds all elements to the queue.

    Adds all elements to the queue.

    elems

    the elements to add.

  34. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  35. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  36. def exists(p: (A) ⇒ Boolean): Boolean
    Definition Classes
    IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
  37. def filter(p: (A) ⇒ Boolean): PriorityQueue[A]
    Definition Classes
    TraversableLike → GenTraversableLike
  38. def filterNot(p: (A) ⇒ Boolean): PriorityQueue[A]
    Definition Classes
    TraversableLike → GenTraversableLike
  39. def find(p: (A) ⇒ Boolean): Option[A]
    Definition Classes
    IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
  40. def fixDown(as: Array[AnyRef], m: Int, n: Int): Unit

    Re-establish the heap order from position 'm' down the tree to 'n'.

    Re-establish the heap order from position 'm' down the tree to 'n'.

    Attributes
    protected
  41. def fixUp(as: Array[AnyRef], m: Int): Unit

    Re-establish the heap order from position 'm' up the tree to the root.

    Re-establish the heap order from position 'm' up the tree to the root.

    Attributes
    protected
  42. def flatMap[B, That](f: (A) ⇒ GenTraversableOnce[B])(implicit bf: CanBuildFrom[PriorityQueue[A], B, That]): That
    Definition Classes
    TraversableLike → GenTraversableLike → FilterMonadic
  43. def flatten[B](implicit asTraversable: (A) ⇒ GenTraversableOnce[B]): Iterable[B]
    Definition Classes
    GenericTraversableTemplate
  44. def fold[A1 >: A](z: A1)(op: (A1, A1) ⇒ A1): A1
    Definition Classes
    TraversableOnce → GenTraversableOnce
  45. def foldLeft[B](z: B)(op: (B, A) ⇒ B): B
    Definition Classes
    TraversableOnce → GenTraversableOnce
  46. def foldRight[B](z: B)(op: (A, B) ⇒ B): B
    Definition Classes
    IterableLike → TraversableOnce → GenTraversableOnce
  47. def forall(p: (A) ⇒ Boolean): Boolean
    Definition Classes
    IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
  48. def foreach[U](f: (A) ⇒ U): Unit
    Definition Classes
    IterableLike → TraversableLike → GenTraversableLike → TraversableOnce → GenTraversableOnce → FilterMonadic
  49. def genericBuilder[B]: Builder[B, Iterable[B]]
    Definition Classes
    GenericTraversableTemplate
  50. def genericOrderedBuilder[B](implicit ord: Ordering[B]): Builder[B, PriorityQueue[B]]
    Definition Classes
    GenericOrderedTraversableTemplate
  51. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  52. def groupBy[K](f: (A) ⇒ K): Map[K, PriorityQueue[A]]
    Definition Classes
    TraversableLike → GenTraversableLike
  53. def grouped(size: Int): Iterator[PriorityQueue[A]]
    Definition Classes
    IterableLike
  54. def hasDefiniteSize: Boolean
    Definition Classes
    TraversableLike → TraversableOnce → GenTraversableOnce
  55. def hashCode(): Int

    The hashCode method always yields an error, since it is not safe to use mutable queues as keys in hash tables.

    The hashCode method always yields an error, since it is not safe to use mutable queues as keys in hash tables.

    returns

    never.

    Definition Classes
    PriorityQueue → AnyRef → Any
  56. def head: A

    Returns the element with the highest priority in the queue, or throws an error if there is no element contained in the queue.

    Returns the element with the highest priority in the queue, or throws an error if there is no element contained in the queue.

    returns

    the element with the highest priority.

    Definition Classes
    PriorityQueue → IterableLike → GenericTraversableTemplate → TraversableLike → GenTraversableLike
  57. def headOption: Option[A]
    Definition Classes
    TraversableLike → GenTraversableLike
  58. def increaseKey(elem: A, upElem: A): Unit

    Since the element's priority is being increased, move it to a higher priority position (toward the front).

    Since the element's priority is being increased, move it to a higher priority position (toward the front).

    elem

    the element to reposition

    upElem

    the update version of the element to reposition

  59. def init: PriorityQueue[A]
    Definition Classes
    TraversableLike → GenTraversableLike
  60. def inits: Iterator[PriorityQueue[A]]
    Definition Classes
    TraversableLike
  61. def isEmpty: Boolean

    Determine whether the priority is empty.

    Determine whether the priority is empty.

    Definition Classes
    PriorityQueue → IterableLike → GenericTraversableTemplate → TraversableLike → TraversableOnce → GenTraversableOnce
  62. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  63. final def isTraversableAgain: Boolean
    Definition Classes
    TraversableLike → GenTraversableLike → GenTraversableOnce
  64. def iterator: Iterator[A]

    Returns an iterator which yields all the elements.

    Returns an iterator which yields all the elements. Note: The order of elements returned is undefined. If you want to traverse the elements in priority queue order, use clone ().dequeueAll.iterator.

    returns

    an iterator over all the elements.

    Definition Classes
    PriorityQueue → IterableLike → GenIterableLike
  65. def last: A
    Definition Classes
    TraversableLike → GenTraversableLike
  66. def lastOption: Option[A]
    Definition Classes
    TraversableLike → GenTraversableLike
  67. def length: Int

    Returns the adjusted length.

  68. def map[B, That](f: (A) ⇒ B)(implicit bf: CanBuildFrom[PriorityQueue[A], B, That]): That
    Definition Classes
    TraversableLike → GenTraversableLike → FilterMonadic
  69. def mapResult[NewTo](f: (PriorityQueue[A]) ⇒ NewTo): Builder[A, NewTo]
    Definition Classes
    Builder
  70. def max[B >: A](implicit cmp: Ordering[B]): A
    Definition Classes
    TraversableOnce → GenTraversableOnce
  71. def maxBy[B](f: (A) ⇒ B)(implicit cmp: Ordering[B]): A
    Definition Classes
    TraversableOnce → GenTraversableOnce
  72. def min[B >: A](implicit cmp: Ordering[B]): A
    Definition Classes
    TraversableOnce → GenTraversableOnce
  73. def minBy[B](f: (A) ⇒ B)(implicit cmp: Ordering[B]): A
    Definition Classes
    TraversableOnce → GenTraversableOnce
  74. def mkString: String
    Definition Classes
    TraversableOnce → GenTraversableOnce
  75. def mkString(sep: String): String
    Definition Classes
    TraversableOnce → GenTraversableOnce
  76. def mkString(start: String, sep: String, end: String): String
    Definition Classes
    TraversableOnce → GenTraversableOnce
  77. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  78. def newBuilder: PriorityQueue[A]
    Attributes
    protected[this]
    Definition Classes
    PriorityQueue → GenericTraversableTemplate → TraversableLike → HasNewBuilder
  79. def nonEmpty: Boolean
    Definition Classes
    TraversableOnce → GenTraversableOnce
  80. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  81. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  82. implicit val ord: Ordering[A]
    Definition Classes
    PriorityQueue → GenericOrderedTraversableTemplate
  83. def orderedCompanion: PriorityQueue.type

    Definition Classes
    PriorityQueue → GenericOrderedTraversableTemplate
  84. def par: ParIterable[A]
    Definition Classes
    Parallelizable
  85. def parCombiner: Combiner[A, ParIterable[A]]
    Attributes
    protected[this]
    Definition Classes
    Iterable → TraversableLike → Parallelizable
  86. def partition(p: (A) ⇒ Boolean): (PriorityQueue[A], PriorityQueue[A])
    Definition Classes
    TraversableLike → GenTraversableLike
  87. def printInOrder(): Unit

    Print the priority queue in order.

  88. def product[B >: A](implicit num: Numeric[B]): B
    Definition Classes
    TraversableOnce → GenTraversableOnce
  89. def reduce[A1 >: A](op: (A1, A1) ⇒ A1): A1
    Definition Classes
    TraversableOnce → GenTraversableOnce
  90. def reduceLeft[B >: A](op: (B, A) ⇒ B): B
    Definition Classes
    TraversableOnce
  91. def reduceLeftOption[B >: A](op: (B, A) ⇒ B): Option[B]
    Definition Classes
    TraversableOnce → GenTraversableOnce
  92. def reduceOption[A1 >: A](op: (A1, A1) ⇒ A1): Option[A1]
    Definition Classes
    TraversableOnce → GenTraversableOnce
  93. def reduceRight[B >: A](op: (A, B) ⇒ B): B
    Definition Classes
    IterableLike → TraversableOnce → GenTraversableOnce
  94. def reduceRightOption[B >: A](op: (A, B) ⇒ B): Option[B]
    Definition Classes
    TraversableOnce → GenTraversableOnce
  95. def repr: PriorityQueue[A]

    Returns the representation.

    Returns the representation.

    Definition Classes
    PriorityQueue → TraversableLike → GenTraversableLike
  96. def result(): PriorityQueue[A]

    Returns this priority queue.

    Returns this priority queue.

    Definition Classes
    PriorityQueue → Builder
  97. def reverse: PriorityQueue[A]

    Returns the reverse of this queue.

    Returns the reverse of this queue. The priority queue that gets returned will have an inversed ordering - if for some elements x and y the original queue's ordering had compare returning an integer w, the new one will return -w, assuming the original ordering abides its contract. Note that the order of the elements will be reversed unless the compare method returns 0. In this case, such elements will be subsequent, but their corresponding subinterval may be inappropriately reversed. However, due to the compare-equals contract, they will also be equal.

    returns

    A reversed priority queue.

  98. def reverseIterator: Iterator[A]

    Returns an iterator which yields all the elements in the reverse order than that returned by the method iterator.

    Returns an iterator which yields all the elements in the reverse order than that returned by the method iterator. Note: The order of elements returned is undefined.

    returns

    an iterator over all elements sorted in descending order.

  99. def reversed: List[A]
    Attributes
    protected[this]
    Definition Classes
    TraversableOnce
  100. def sameElements[B >: A](that: GenIterable[B]): Boolean
    Definition Classes
    IterableLike → GenIterableLike
  101. def scan[B >: A, That](z: B)(op: (B, B) ⇒ B)(implicit cbf: CanBuildFrom[PriorityQueue[A], B, That]): That
    Definition Classes
    TraversableLike → GenTraversableLike
  102. def scanLeft[B, That](z: B)(op: (B, A) ⇒ B)(implicit bf: CanBuildFrom[PriorityQueue[A], B, That]): That
    Definition Classes
    TraversableLike → GenTraversableLike
  103. def scanRight[B, That](z: B)(op: (A, B) ⇒ B)(implicit bf: CanBuildFrom[PriorityQueue[A], B, That]): That
    Definition Classes
    TraversableLike → GenTraversableLike
    Annotations
    @migration
    Migration

    (Changed in version 2.9.0) The behavior of scanRight has changed. The previous behavior can be reproduced with scanRight.reverse.

  104. def seq: Iterable[A]
    Definition Classes
    Iterable → Iterable → GenIterable → Traversable → Traversable → GenTraversable → Parallelizable → TraversableOnce → GenTraversableOnce
  105. def size: Int

    Returns the size.

    Returns the size.

    Definition Classes
    PriorityQueue → GenTraversableLike → TraversableOnce → GenTraversableOnce
  106. def sizeHint(coll: TraversableLike[_, _], delta: Int): Unit
    Definition Classes
    Builder
  107. def sizeHint(coll: TraversableLike[_, _]): Unit
    Definition Classes
    Builder
  108. def sizeHint(size: Int): Unit
    Definition Classes
    Builder
  109. def sizeHintBounded(size: Int, boundingColl: TraversableLike[_, _]): Unit
    Definition Classes
    Builder
  110. def sizeHintIfCheap: Int
    Attributes
    protected[collection]
    Definition Classes
    GenTraversableOnce
  111. def slice(from: Int, until: Int): PriorityQueue[A]
    Definition Classes
    IterableLike → TraversableLike → GenTraversableLike
  112. def sliding(size: Int, step: Int): Iterator[PriorityQueue[A]]
    Definition Classes
    IterableLike
  113. def sliding(size: Int): Iterator[PriorityQueue[A]]
    Definition Classes
    IterableLike
  114. def span(p: (A) ⇒ Boolean): (PriorityQueue[A], PriorityQueue[A])
    Definition Classes
    TraversableLike → GenTraversableLike
  115. def splitAt(n: Int): (PriorityQueue[A], PriorityQueue[A])
    Definition Classes
    TraversableLike → GenTraversableLike
  116. def stringPrefix: String
    Definition Classes
    TraversableLike → GenTraversableLike
  117. def sum[B >: A](implicit num: Numeric[B]): B
    Definition Classes
    TraversableOnce → GenTraversableOnce
  118. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  119. def tail: PriorityQueue[A]
    Definition Classes
    TraversableLike → GenTraversableLike
  120. def tails: Iterator[PriorityQueue[A]]
    Definition Classes
    TraversableLike
  121. def take(n: Int): PriorityQueue[A]
    Definition Classes
    IterableLike → TraversableLike → GenTraversableLike
  122. def takeRight(n: Int): PriorityQueue[A]
    Definition Classes
    IterableLike
  123. def takeWhile(p: (A) ⇒ Boolean): PriorityQueue[A]
    Definition Classes
    IterableLike → TraversableLike → GenTraversableLike
  124. def thisCollection: Iterable[A]
    Attributes
    protected[this]
    Definition Classes
    IterableLike → TraversableLike
  125. def to[Col[_]](implicit cbf: CanBuildFrom[Nothing, A, Col[A]]): Col[A]
    Definition Classes
    TraversableLike → TraversableOnce → GenTraversableOnce
  126. def toArray[B >: A](implicit arg0: ClassTag[B]): Array[B]
    Definition Classes
    TraversableOnce → GenTraversableOnce
  127. def toBuffer[B >: A]: Buffer[B]
    Definition Classes
    TraversableOnce → GenTraversableOnce
  128. def toCollection(repr: PriorityQueue[A]): Iterable[A]
    Attributes
    protected[this]
    Definition Classes
    IterableLike → TraversableLike
  129. def toIndexedSeq: IndexedSeq[A]
    Definition Classes
    TraversableOnce → GenTraversableOnce
  130. def toIterable: Iterable[A]
    Definition Classes
    IterableLike → TraversableOnce → GenTraversableOnce
  131. def toIterator: Iterator[A]
    Definition Classes
    IterableLike → TraversableLike → GenTraversableOnce
    Annotations
    @deprecatedOverriding( ... , "2.11.0" )
  132. def toList: List[A]

    Converts this priority queue to a list.

    Converts this priority queue to a list. Note: the order of elements is undefined.

    returns

    a list containing all elements of this priority queue.

    Definition Classes
    PriorityQueue → TraversableOnce → GenTraversableOnce
  133. def toMap[T, U](implicit ev: <:<[A, (T, U)]): Map[T, U]
    Definition Classes
    TraversableOnce → GenTraversableOnce
  134. def toQueue: Queue[A]

    Returns a regular queue containing the same elements.

    Returns a regular queue containing the same elements. Note: the order of elements is undefined.

  135. def toSeq: Seq[A]
    Definition Classes
    TraversableOnce → GenTraversableOnce
  136. def toSet[B >: A]: Set[B]
    Definition Classes
    TraversableOnce → GenTraversableOnce
  137. def toStream: Stream[A]
    Definition Classes
    IterableLike → TraversableLike → GenTraversableOnce
  138. def toString(): String

    Returns a textual representation of a queue as a string.

    Returns a textual representation of a queue as a string.

    returns

    the string representation of this queue.

    Definition Classes
    PriorityQueue → TraversableLike → AnyRef → Any
  139. def toTraversable: Traversable[A]
    Definition Classes
    TraversableLike → TraversableOnce → GenTraversableOnce
    Annotations
    @deprecatedOverriding( ... , "2.11.0" )
  140. def toVector: Vector[A]
    Definition Classes
    TraversableOnce → GenTraversableOnce
  141. def transpose[B](implicit asTraversable: (A) ⇒ GenTraversableOnce[B]): Iterable[Iterable[B]]
    Definition Classes
    GenericTraversableTemplate
    Annotations
    @migration
    Migration

    (Changed in version 2.9.0) transpose throws an IllegalArgumentException if collections are not uniformly sized.

  142. def unzip[A1, A2](implicit asPair: (A) ⇒ (A1, A2)): (Iterable[A1], Iterable[A2])
    Definition Classes
    GenericTraversableTemplate
  143. def unzip3[A1, A2, A3](implicit asTriple: (A) ⇒ (A1, A2, A3)): (Iterable[A1], Iterable[A2], Iterable[A3])
    Definition Classes
    GenericTraversableTemplate
  144. def view(from: Int, until: Int): IterableView[A, PriorityQueue[A]]
    Definition Classes
    IterableLike → TraversableLike
  145. def view: IterableView[A, PriorityQueue[A]]
    Definition Classes
    IterableLike → TraversableLike
  146. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  147. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  148. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  149. def withFilter(p: (A) ⇒ Boolean): FilterMonadic[A, PriorityQueue[A]]
    Definition Classes
    TraversableLike → FilterMonadic
  150. def zip[A1 >: A, B, That](that: GenIterable[B])(implicit bf: CanBuildFrom[PriorityQueue[A], (A1, B), That]): That
    Definition Classes
    IterableLike → GenIterableLike
  151. def zipAll[B, A1 >: A, That](that: GenIterable[B], thisElem: A1, thatElem: B)(implicit bf: CanBuildFrom[PriorityQueue[A], (A1, B), That]): That
    Definition Classes
    IterableLike → GenIterableLike
  152. def zipWithIndex[A1 >: A, That](implicit bf: CanBuildFrom[PriorityQueue[A], (A1, Int), That]): That
    Definition Classes
    IterableLike → GenIterableLike

Deprecated Value Members

  1. def /:[B](z: B)(op: (B, A) ⇒ B): B
    Definition Classes
    TraversableOnce → GenTraversableOnce
    Annotations
    @deprecated
    Deprecated

    (Since version 2.12.10) Use foldLeft instead of /:

  2. def :\[B](z: B)(op: (A, B) ⇒ B): B
    Definition Classes
    TraversableOnce → GenTraversableOnce
    Annotations
    @deprecated
    Deprecated

    (Since version 2.12.10) Use foldRight instead of :\

  3. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated

Inherited from Cloneable

Inherited from Cloneable

Inherited from Serializable

Inherited from Serializable

Inherited from Builder[A, PriorityQueue[A]]

Inherited from Growable[A]

Inherited from Clearable

Inherited from GenericOrderedTraversableTemplate[A, PriorityQueue]

Inherited from AbstractIterable[A]

Inherited from Iterable[A]

Inherited from Traversable[A]

Inherited from Mutable

Inherited from AbstractIterable[A]

Inherited from Iterable[A]

Inherited from IterableLike[A, PriorityQueue[A]]

Inherited from Equals

Inherited from GenIterable[A]

Inherited from GenIterableLike[A, PriorityQueue[A]]

Inherited from AbstractTraversable[A]

Inherited from Traversable[A]

Inherited from GenTraversable[A]

Inherited from GenericTraversableTemplate[A, Iterable]

Inherited from TraversableLike[A, PriorityQueue[A]]

Inherited from GenTraversableLike[A, PriorityQueue[A]]

Inherited from Parallelizable[A, ParIterable[A]]

Inherited from TraversableOnce[A]

Inherited from GenTraversableOnce[A]

Inherited from FilterMonadic[A, PriorityQueue[A]]

Inherited from HasNewBuilder[A, scalation.util.PriorityQueue[A] @scala.annotation.unchecked.uncheckedVariance]

Inherited from AnyRef

Inherited from Any

Ungrouped