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
- Alphabetic
- By Inheritance
- PriorityQueue
- Cloneable
- Cloneable
- Serializable
- Serializable
- Builder
- Growable
- Clearable
- GenericOrderedTraversableTemplate
- AbstractIterable
- Iterable
- Traversable
- Mutable
- AbstractIterable
- Iterable
- IterableLike
- Equals
- GenIterable
- GenIterableLike
- AbstractTraversable
- Traversable
- GenTraversable
- GenericTraversableTemplate
- TraversableLike
- GenTraversableLike
- Parallelizable
- TraversableOnce
- GenTraversableOnce
- FilterMonadic
- HasNewBuilder
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
PriorityQueue()(implicit ord: Ordering[A])
- ord
implicit ordering used to compare the elements of type
A
.
Type Members
-
type
Self = PriorityQueue[A]
- Attributes
- protected[this]
- Definition Classes
- TraversableLike
-
class
WithFilter extends FilterMonadic[A, Repr]
- Definition Classes
- TraversableLike
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
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
andthis
.
-
def
++[B >: A, That](that: GenTraversableOnce[B])(implicit bf: CanBuildFrom[PriorityQueue[A], B, That]): That
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
++:[B >: A, That](that: Traversable[B])(implicit bf: CanBuildFrom[PriorityQueue[A], B, That]): That
- Definition Classes
- TraversableLike
-
def
++:[B >: A, That](that: TraversableOnce[B])(implicit bf: CanBuildFrom[PriorityQueue[A], B, That]): That
- Definition Classes
- TraversableLike
-
def
++=(xs: TraversableOnce[A]): PriorityQueue.this.type
- Definition Classes
- Growable
-
def
+=(elem: A): PriorityQueue.this.type
Inserts a single element into the priority queue.
Inserts a single element into the priority queue.
- elem
the element to insert.
- returns
this priority queue.
- Definition Classes
- PriorityQueue → Builder → Growable
-
def
+=(elem1: A, elem2: A, elems: A*): PriorityQueue.this.type
- Definition Classes
- Growable
-
def
/:[B](z: B)(op: (B, A) ⇒ B): B
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
:\[B](z: B)(op: (A, B) ⇒ B): B
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
addString(b: StringBuilder): StringBuilder
- Definition Classes
- TraversableOnce
-
def
addString(b: StringBuilder, sep: String): StringBuilder
- Definition Classes
- TraversableOnce
-
def
addString(b: StringBuilder, start: String, sep: String, end: String): StringBuilder
- Definition Classes
- TraversableOnce
-
def
aggregate[B](z: ⇒ B)(seqop: (B, A) ⇒ B, combop: (B, B) ⇒ B): B
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
canEqual(that: Any): Boolean
- Definition Classes
- IterableLike → Equals
-
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
-
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
-
def
collect[B, That](pf: PartialFunction[A, B])(implicit bf: CanBuildFrom[PriorityQueue[A], B, That]): That
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
collectFirst[B](pf: PartialFunction[A, B]): Option[B]
- Definition Classes
- TraversableOnce
-
def
companion: GenericCompanion[Iterable]
- Definition Classes
- Iterable → Iterable → GenIterable → Traversable → Traversable → GenTraversable → GenericTraversableTemplate
-
def
copyToArray[B >: A](xs: Array[B], start: Int, len: Int): Unit
- Definition Classes
- IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
-
def
copyToArray[B >: A](xs: Array[B]): Unit
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
copyToArray[B >: A](xs: Array[B], start: Int): Unit
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
copyToBuffer[B >: A](dest: Buffer[B]): Unit
- Definition Classes
- TraversableOnce
-
def
count(p: (A) ⇒ Boolean): Int
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
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
-
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.
-
def
dequeueAll[A1 >: A, That](implicit bf: CanBuildFrom[_, A1, That]): That
Returns all elements in the queue, and removes them from the queue.
-
def
drop(n: Int): PriorityQueue[A]
- Definition Classes
- IterableLike → TraversableLike → GenTraversableLike
-
def
dropRight(n: Int): PriorityQueue[A]
- Definition Classes
- IterableLike
-
def
dropWhile(p: (A) ⇒ Boolean): PriorityQueue[A]
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
enqueue(elems: A*): Unit
Adds all elements to the queue.
Adds all elements to the queue.
- elems
the elements to add.
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
exists(p: (A) ⇒ Boolean): Boolean
- Definition Classes
- IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
-
def
filter(p: (A) ⇒ Boolean): PriorityQueue[A]
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
filterNot(p: (A) ⇒ Boolean): PriorityQueue[A]
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
find(p: (A) ⇒ Boolean): Option[A]
- Definition Classes
- IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
-
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
-
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
-
def
flatMap[B, That](f: (A) ⇒ GenTraversableOnce[B])(implicit bf: CanBuildFrom[PriorityQueue[A], B, That]): That
- Definition Classes
- TraversableLike → GenTraversableLike → FilterMonadic
-
def
flatten[B](implicit asTraversable: (A) ⇒ GenTraversableOnce[B]): Iterable[B]
- Definition Classes
- GenericTraversableTemplate
-
def
fold[A1 >: A](z: A1)(op: (A1, A1) ⇒ A1): A1
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
foldLeft[B](z: B)(op: (B, A) ⇒ B): B
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
foldRight[B](z: B)(op: (A, B) ⇒ B): B
- Definition Classes
- IterableLike → TraversableOnce → GenTraversableOnce
-
def
forall(p: (A) ⇒ Boolean): Boolean
- Definition Classes
- IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
-
def
foreach[U](f: (A) ⇒ U): Unit
- Definition Classes
- IterableLike → TraversableLike → GenTraversableLike → TraversableOnce → GenTraversableOnce → FilterMonadic
-
def
genericBuilder[B]: Builder[B, Iterable[B]]
- Definition Classes
- GenericTraversableTemplate
-
def
genericOrderedBuilder[B](implicit ord: Ordering[B]): Builder[B, PriorityQueue[B]]
- Definition Classes
- GenericOrderedTraversableTemplate
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
groupBy[K](f: (A) ⇒ K): Map[K, PriorityQueue[A]]
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
grouped(size: Int): Iterator[PriorityQueue[A]]
- Definition Classes
- IterableLike
-
def
hasDefiniteSize: Boolean
- Definition Classes
- TraversableLike → TraversableOnce → GenTraversableOnce
-
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
-
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
-
def
headOption: Option[A]
- Definition Classes
- TraversableLike → GenTraversableLike
-
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
-
def
init: PriorityQueue[A]
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
inits: Iterator[PriorityQueue[A]]
- Definition Classes
- TraversableLike
-
def
isEmpty: Boolean
Determine whether the priority is empty.
Determine whether the priority is empty.
- Definition Classes
- PriorityQueue → IterableLike → GenericTraversableTemplate → TraversableLike → TraversableOnce → GenTraversableOnce
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
isTraversableAgain: Boolean
- Definition Classes
- TraversableLike → GenTraversableLike → GenTraversableOnce
-
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
-
def
last: A
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
lastOption: Option[A]
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
length: Int
Returns the adjusted length.
-
def
map[B, That](f: (A) ⇒ B)(implicit bf: CanBuildFrom[PriorityQueue[A], B, That]): That
- Definition Classes
- TraversableLike → GenTraversableLike → FilterMonadic
-
def
mapResult[NewTo](f: (PriorityQueue[A]) ⇒ NewTo): Builder[A, NewTo]
- Definition Classes
- Builder
-
def
max[B >: A](implicit cmp: Ordering[B]): A
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
maxBy[B](f: (A) ⇒ B)(implicit cmp: Ordering[B]): A
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
min[B >: A](implicit cmp: Ordering[B]): A
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
minBy[B](f: (A) ⇒ B)(implicit cmp: Ordering[B]): A
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
mkString: String
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
mkString(sep: String): String
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
mkString(start: String, sep: String, end: String): String
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
newBuilder: PriorityQueue[A]
- Attributes
- protected[this]
- Definition Classes
- PriorityQueue → GenericTraversableTemplate → TraversableLike → HasNewBuilder
-
def
nonEmpty: Boolean
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
implicit
val
ord: Ordering[A]
- Definition Classes
- PriorityQueue → GenericOrderedTraversableTemplate
-
def
orderedCompanion: PriorityQueue.type
- Definition Classes
- PriorityQueue → GenericOrderedTraversableTemplate
-
def
par: ParIterable[A]
- Definition Classes
- Parallelizable
-
def
parCombiner: Combiner[A, ParIterable[A]]
- Attributes
- protected[this]
- Definition Classes
- Iterable → TraversableLike → Parallelizable
-
def
partition(p: (A) ⇒ Boolean): (PriorityQueue[A], PriorityQueue[A])
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
printInOrder(): Unit
Print the priority queue in order.
-
def
product[B >: A](implicit num: Numeric[B]): B
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
reduce[A1 >: A](op: (A1, A1) ⇒ A1): A1
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
reduceLeft[B >: A](op: (B, A) ⇒ B): B
- Definition Classes
- TraversableOnce
-
def
reduceLeftOption[B >: A](op: (B, A) ⇒ B): Option[B]
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
reduceOption[A1 >: A](op: (A1, A1) ⇒ A1): Option[A1]
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
reduceRight[B >: A](op: (A, B) ⇒ B): B
- Definition Classes
- IterableLike → TraversableOnce → GenTraversableOnce
-
def
reduceRightOption[B >: A](op: (A, B) ⇒ B): Option[B]
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
repr: PriorityQueue[A]
Returns the representation.
Returns the representation.
- Definition Classes
- PriorityQueue → TraversableLike → GenTraversableLike
-
def
result(): PriorityQueue[A]
Returns this priority queue.
Returns this priority queue.
- Definition Classes
- PriorityQueue → Builder
-
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
andy
the original queue's ordering hadcompare
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 thecompare
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.
-
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.
-
def
reversed: List[A]
- Attributes
- protected[this]
- Definition Classes
- TraversableOnce
-
def
sameElements[B >: A](that: GenIterable[B]): Boolean
- Definition Classes
- IterableLike → GenIterableLike
-
def
scan[B >: A, That](z: B)(op: (B, B) ⇒ B)(implicit cbf: CanBuildFrom[PriorityQueue[A], B, That]): That
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
scanLeft[B, That](z: B)(op: (B, A) ⇒ B)(implicit bf: CanBuildFrom[PriorityQueue[A], B, That]): That
- Definition Classes
- TraversableLike → GenTraversableLike
-
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.
-
def
seq: Iterable[A]
- Definition Classes
- Iterable → Iterable → GenIterable → Traversable → Traversable → GenTraversable → Parallelizable → TraversableOnce → GenTraversableOnce
-
def
size: Int
Returns the size.
Returns the size.
- Definition Classes
- PriorityQueue → GenTraversableLike → TraversableOnce → GenTraversableOnce
-
def
sizeHint(coll: TraversableLike[_, _], delta: Int): Unit
- Definition Classes
- Builder
-
def
sizeHint(coll: TraversableLike[_, _]): Unit
- Definition Classes
- Builder
-
def
sizeHint(size: Int): Unit
- Definition Classes
- Builder
-
def
sizeHintBounded(size: Int, boundingColl: TraversableLike[_, _]): Unit
- Definition Classes
- Builder
-
def
sizeHintIfCheap: Int
- Attributes
- protected[scala.collection]
- Definition Classes
- GenTraversableOnce
-
def
slice(from: Int, until: Int): PriorityQueue[A]
- Definition Classes
- IterableLike → TraversableLike → GenTraversableLike
-
def
sliding(size: Int, step: Int): Iterator[PriorityQueue[A]]
- Definition Classes
- IterableLike
-
def
sliding(size: Int): Iterator[PriorityQueue[A]]
- Definition Classes
- IterableLike
-
def
span(p: (A) ⇒ Boolean): (PriorityQueue[A], PriorityQueue[A])
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
splitAt(n: Int): (PriorityQueue[A], PriorityQueue[A])
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
stringPrefix: String
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
sum[B >: A](implicit num: Numeric[B]): B
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
tail: PriorityQueue[A]
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
tails: Iterator[PriorityQueue[A]]
- Definition Classes
- TraversableLike
-
def
take(n: Int): PriorityQueue[A]
- Definition Classes
- IterableLike → TraversableLike → GenTraversableLike
-
def
takeRight(n: Int): PriorityQueue[A]
- Definition Classes
- IterableLike
-
def
takeWhile(p: (A) ⇒ Boolean): PriorityQueue[A]
- Definition Classes
- IterableLike → TraversableLike → GenTraversableLike
-
def
thisCollection: Iterable[A]
- Attributes
- protected[this]
- Definition Classes
- IterableLike → TraversableLike
-
def
to[Col[_]](implicit cbf: CanBuildFrom[Nothing, A, Col[A]]): Col[A]
- Definition Classes
- TraversableLike → TraversableOnce → GenTraversableOnce
-
def
toArray[B >: A](implicit arg0: ClassTag[B]): Array[B]
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
toBuffer[B >: A]: Buffer[B]
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
toCollection(repr: PriorityQueue[A]): Iterable[A]
- Attributes
- protected[this]
- Definition Classes
- IterableLike → TraversableLike
-
def
toIndexedSeq: IndexedSeq[A]
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
toIterable: Iterable[A]
- Definition Classes
- IterableLike → TraversableOnce → GenTraversableOnce
-
def
toIterator: Iterator[A]
- Definition Classes
- IterableLike → TraversableLike → GenTraversableOnce
- Annotations
- @deprecatedOverriding( ... , "2.11.0" )
-
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
-
def
toMap[T, U](implicit ev: <:<[A, (T, U)]): Map[T, U]
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
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.
-
def
toSeq: Seq[A]
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
toSet[B >: A]: Set[B]
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
toStream: Stream[A]
- Definition Classes
- IterableLike → TraversableLike → GenTraversableOnce
-
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
-
def
toTraversable: Traversable[A]
- Definition Classes
- TraversableLike → TraversableOnce → GenTraversableOnce
- Annotations
- @deprecatedOverriding( ... , "2.11.0" )
-
def
toVector: Vector[A]
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
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 anIllegalArgumentException
if collections are not uniformly sized.
-
def
unzip[A1, A2](implicit asPair: (A) ⇒ (A1, A2)): (Iterable[A1], Iterable[A2])
- Definition Classes
- GenericTraversableTemplate
-
def
unzip3[A1, A2, A3](implicit asTriple: (A) ⇒ (A1, A2, A3)): (Iterable[A1], Iterable[A2], Iterable[A3])
- Definition Classes
- GenericTraversableTemplate
-
def
view(from: Int, until: Int): IterableView[A, PriorityQueue[A]]
- Definition Classes
- IterableLike → TraversableLike
-
def
view: IterableView[A, PriorityQueue[A]]
- Definition Classes
- IterableLike → TraversableLike
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
def
withFilter(p: (A) ⇒ Boolean): FilterMonadic[A, PriorityQueue[A]]
- Definition Classes
- TraversableLike → FilterMonadic
-
def
zip[A1 >: A, B, That](that: GenIterable[B])(implicit bf: CanBuildFrom[PriorityQueue[A], (A1, B), That]): That
- Definition Classes
- IterableLike → GenIterableLike
-
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
-
def
zipWithIndex[A1 >: A, That](implicit bf: CanBuildFrom[PriorityQueue[A], (A1, Int), That]): That
- Definition Classes
- IterableLike → GenIterableLike