Packages

c

org.apache.pekko.util

StablePriorityBlockingQueue

class StablePriorityBlockingQueue[E <: AnyRef] extends AbstractQueue[E] with PriorityQueueStabilizer[E]

StablePriorityBlockingQueue is a blocking priority queue that preserves order for elements of equal priority.

Source
StablePriorityQueue.scala
Known Subclasses
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. StablePriorityBlockingQueue
  2. PriorityQueueStabilizer
  3. AbstractQueue
  4. Queue
  5. AbstractCollection
  6. Collection
  7. Iterable
  8. AnyRef
  9. 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

Instance Constructors

  1. new StablePriorityBlockingQueue(capacity: Int, cmp: Comparator[E])

    capacity

    - the initial capacity of this Queue, needs to be > 0.

    cmp

    - Comparator for comparing Queue elements

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

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 fromStablePriorityBlockingQueue[E] to any2stringadd[StablePriorityBlockingQueue[E]]

Inherited by implicit conversion StringFormat fromStablePriorityBlockingQueue[E] to StringFormat[StablePriorityBlockingQueue[E]]

Inherited by implicit conversion Ensuring fromStablePriorityBlockingQueue[E] to Ensuring[StablePriorityBlockingQueue[E]]

Inherited by implicit conversion ArrowAssoc fromStablePriorityBlockingQueue[E] to ArrowAssoc[StablePriorityBlockingQueue[E]]

Ungrouped