Packages

trait PriorityQueueStabilizer[E <: AnyRef] extends AbstractQueue[E]

PriorityQueueStabilizer wraps a priority queue so that it respects FIFO for elements of equal priority.

Source
StablePriorityQueue.scala
Linear Supertypes
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. PriorityQueueStabilizer
  2. AbstractQueue
  3. Queue
  4. AbstractCollection
  5. Collection
  6. Iterable
  7. AnyRef
  8. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Abstract Value Members

  1. abstract val backingQueue: AbstractQueue[WrappedElement[E]]

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String
    Implicit
    This member is added by an implicit conversion from PriorityQueueStabilizer[E] toany2stringadd[PriorityQueueStabilizer[E]] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (PriorityQueueStabilizer[E], B)
    Implicit
    This member is added by an implicit conversion from PriorityQueueStabilizer[E] toArrowAssoc[PriorityQueueStabilizer[E]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  6. def add(arg0: E): Boolean
    Definition Classes
    AbstractQueue → Queue → AbstractCollection → Collection
  7. def addAll(arg0: Collection[_ <: E]): Boolean
    Definition Classes
    AbstractQueue → AbstractCollection → Collection
  8. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  9. def clear(): Unit
    Definition Classes
    AbstractQueue → AbstractCollection → Collection
  10. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
  11. def contains(arg0: AnyRef): Boolean
    Definition Classes
    AbstractCollection → Collection
  12. def containsAll(arg0: Collection[_ <: AnyRef]): Boolean
    Definition Classes
    AbstractCollection → Collection
  13. def element(): E
    Definition Classes
    AbstractQueue → Queue
  14. def ensuring(cond: (PriorityQueueStabilizer[E]) => Boolean, msg: => Any): PriorityQueueStabilizer[E]
    Implicit
    This member is added by an implicit conversion from PriorityQueueStabilizer[E] toEnsuring[PriorityQueueStabilizer[E]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  15. def ensuring(cond: (PriorityQueueStabilizer[E]) => Boolean): PriorityQueueStabilizer[E]
    Implicit
    This member is added by an implicit conversion from PriorityQueueStabilizer[E] toEnsuring[PriorityQueueStabilizer[E]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  16. def ensuring(cond: Boolean, msg: => Any): PriorityQueueStabilizer[E]
    Implicit
    This member is added by an implicit conversion from PriorityQueueStabilizer[E] toEnsuring[PriorityQueueStabilizer[E]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  17. def ensuring(cond: Boolean): PriorityQueueStabilizer[E]
    Implicit
    This member is added by an implicit conversion from PriorityQueueStabilizer[E] toEnsuring[PriorityQueueStabilizer[E]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  18. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  20. def forEach(arg0: Consumer[_ >: E <: AnyRef]): Unit
    Definition Classes
    Iterable
  21. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  22. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  23. def isEmpty(): Boolean
    Definition Classes
    AbstractCollection → Collection
  24. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  25. def iterator(): Iterator[E]
    Definition Classes
    PriorityQueueStabilizer → AbstractCollection → Collection → Iterable
  26. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  27. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  28. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  29. def offer(e: E): Boolean
    Definition Classes
    PriorityQueueStabilizer → Queue
  30. def parallelStream(): Stream[E]
    Definition Classes
    Collection
  31. def peek(): E
    Definition Classes
    PriorityQueueStabilizer → Queue
  32. def poll(): E
    Definition Classes
    PriorityQueueStabilizer → Queue
  33. def remove(): E
    Definition Classes
    AbstractQueue → Queue
  34. def remove(arg0: AnyRef): Boolean
    Definition Classes
    AbstractCollection → Collection
  35. def removeAll(arg0: Collection[_ <: AnyRef]): Boolean
    Definition Classes
    AbstractCollection → Collection
  36. def removeIf(arg0: Predicate[_ >: E <: AnyRef]): Boolean
    Definition Classes
    Collection
  37. def retainAll(arg0: Collection[_ <: AnyRef]): Boolean
    Definition Classes
    AbstractCollection → Collection
  38. val seqNum: AtomicLong
  39. def size(): Int
    Definition Classes
    PriorityQueueStabilizer → AbstractCollection → Collection
  40. def spliterator(): Spliterator[E]
    Definition Classes
    Collection → Iterable
  41. def stream(): Stream[E]
    Definition Classes
    Collection
  42. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  43. def toArray[T <: AnyRef](arg0: Array[T]): Array[T]
    Definition Classes
    AbstractCollection → Collection
  44. def toArray(): Array[AnyRef]
    Definition Classes
    AbstractCollection → Collection
  45. def toArray[T <: AnyRef](arg0: IntFunction[Array[T]]): Array[T]
    Definition Classes
    Collection
  46. def toString(): String
    Definition Classes
    AbstractCollection → AnyRef → Any
  47. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  48. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  49. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

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

    (Since version 9)

  2. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from PriorityQueueStabilizer[E] toStringFormat[PriorityQueueStabilizer[E]] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.12.16) Use formatString.format(value) instead of value.formatted(formatString), or use the f"" string interpolator. In Java 15 and later, formatted resolves to the new method in String which has reversed parameters.

  3. def [B](y: B): (PriorityQueueStabilizer[E], B)
    Implicit
    This member is added by an implicit conversion from PriorityQueueStabilizer[E] toArrowAssoc[PriorityQueueStabilizer[E]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use -> instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.

Inherited from AbstractQueue[E]

Inherited from Queue[E]

Inherited from AbstractCollection[E]

Inherited from Collection[E]

Inherited from Iterable[E]

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd fromPriorityQueueStabilizer[E] to any2stringadd[PriorityQueueStabilizer[E]]

Inherited by implicit conversion StringFormat fromPriorityQueueStabilizer[E] to StringFormat[PriorityQueueStabilizer[E]]

Inherited by implicit conversion Ensuring fromPriorityQueueStabilizer[E] to Ensuring[PriorityQueueStabilizer[E]]

Inherited by implicit conversion ArrowAssoc fromPriorityQueueStabilizer[E] to ArrowAssoc[PriorityQueueStabilizer[E]]

Ungrouped