Class

akka.util

StablePriorityBlockingQueue

Related Doc: package util

Permalink

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
Linear Supertypes
PriorityQueueStabilizer[E], AbstractQueue[E], Queue[E], AbstractCollection[E], Collection[E], Iterable[E], AnyRef, Any
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. All

Instance Constructors

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

    Permalink

    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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from StablePriorityBlockingQueue[E] to any2stringadd[StablePriorityBlockingQueue[E]] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (StablePriorityBlockingQueue[E], B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from StablePriorityBlockingQueue[E] to ArrowAssoc[StablePriorityBlockingQueue[E]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  6. def add(arg0: E): Boolean

    Permalink
    Definition Classes
    AbstractQueue → Queue → AbstractCollection → Collection
  7. def addAll(arg0: Collection[_ <: E]): Boolean

    Permalink
    Definition Classes
    AbstractQueue → AbstractCollection → Collection
  8. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  9. val backingQueue: PriorityBlockingQueue[WrappedElement[E]]

    Permalink
  10. def clear(): Unit

    Permalink
    Definition Classes
    AbstractQueue → AbstractCollection → Collection
  11. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @throws( ... )
  12. def contains(arg0: Any): Boolean

    Permalink
    Definition Classes
    AbstractCollection → Collection
  13. def containsAll(arg0: Collection[_]): Boolean

    Permalink
    Definition Classes
    AbstractCollection → Collection
  14. def element(): E

    Permalink
    Definition Classes
    AbstractQueue → Queue
  15. def ensuring(cond: (StablePriorityBlockingQueue[E]) ⇒ Boolean, msg: ⇒ Any): StablePriorityBlockingQueue[E]

    Permalink
    Implicit information
    This member is added by an implicit conversion from StablePriorityBlockingQueue[E] to Ensuring[StablePriorityBlockingQueue[E]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  16. def ensuring(cond: (StablePriorityBlockingQueue[E]) ⇒ Boolean): StablePriorityBlockingQueue[E]

    Permalink
    Implicit information
    This member is added by an implicit conversion from StablePriorityBlockingQueue[E] to Ensuring[StablePriorityBlockingQueue[E]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  17. def ensuring(cond: Boolean, msg: ⇒ Any): StablePriorityBlockingQueue[E]

    Permalink
    Implicit information
    This member is added by an implicit conversion from StablePriorityBlockingQueue[E] to Ensuring[StablePriorityBlockingQueue[E]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  18. def ensuring(cond: Boolean): StablePriorityBlockingQueue[E]

    Permalink
    Implicit information
    This member is added by an implicit conversion from StablePriorityBlockingQueue[E] to Ensuring[StablePriorityBlockingQueue[E]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  19. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  20. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  21. def forEach(arg0: Consumer[_ >: E]): Unit

    Permalink
    Definition Classes
    Iterable
  22. def formatted(fmtstr: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from StablePriorityBlockingQueue[E] to StringFormat[StablePriorityBlockingQueue[E]] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  23. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  24. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  25. def isEmpty(): Boolean

    Permalink
    Definition Classes
    AbstractCollection → Collection
  26. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  27. def iterator(): Iterator[E]

    Permalink
    Definition Classes
    PriorityQueueStabilizer → AbstractCollection → Collection → Iterable
  28. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  29. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  30. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  31. def offer(e: E): Boolean

    Permalink
    Definition Classes
    PriorityQueueStabilizer → Queue
  32. def parallelStream(): Stream[E]

    Permalink
    Definition Classes
    Collection
  33. def peek(): E

    Permalink
    Definition Classes
    PriorityQueueStabilizer → Queue
  34. def poll(): E

    Permalink
    Definition Classes
    PriorityQueueStabilizer → Queue
  35. def remove(): E

    Permalink
    Definition Classes
    AbstractQueue → Queue
  36. def remove(arg0: Any): Boolean

    Permalink
    Definition Classes
    AbstractCollection → Collection
  37. def removeAll(arg0: Collection[_]): Boolean

    Permalink
    Definition Classes
    AbstractCollection → Collection
  38. def removeIf(arg0: Predicate[_ >: E]): Boolean

    Permalink
    Definition Classes
    Collection
  39. def retainAll(arg0: Collection[_]): Boolean

    Permalink
    Definition Classes
    AbstractCollection → Collection
  40. val seqNum: AtomicLong

    Permalink
    Definition Classes
    PriorityQueueStabilizer
  41. def size(): Int

    Permalink
    Definition Classes
    PriorityQueueStabilizer → AbstractCollection → Collection
  42. def spliterator(): Spliterator[E]

    Permalink
    Definition Classes
    Collection → Iterable
  43. def stream(): Stream[E]

    Permalink
    Definition Classes
    Collection
  44. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  45. def toArray[T](arg0: Array[T]): Array[T]

    Permalink
    Definition Classes
    AbstractCollection → Collection
  46. def toArray(): Array[AnyRef]

    Permalink
    Definition Classes
    AbstractCollection → Collection
  47. def toString(): String

    Permalink
    Definition Classes
    AbstractCollection → AnyRef → Any
  48. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  49. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  50. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  51. def [B](y: B): (StablePriorityBlockingQueue[E], B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from StablePriorityBlockingQueue[E] to ArrowAssoc[StablePriorityBlockingQueue[E]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Deprecated Value Members

  1. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

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

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

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

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

Ungrouped