Package org.apache.pekko.util
Class StablePriorityQueue<E>
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractQueue<E>
org.apache.pekko.util.StablePriorityQueue<E>
- All Implemented Interfaces:
Iterable<E>,Collection<E>,Queue<E>,PriorityQueueStabilizer<E>
StablePriorityQueue is a priority queue that preserves order for elements of equal priority.
param: capacity - the initial capacity of this Queue, needs to be > 0.
param: cmp - Comparator for comparing Queue elements
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.pekko.util.PriorityQueueStabilizer
PriorityQueueStabilizer.WrappedElement<E>, PriorityQueueStabilizer.WrappedElementComparator<E> -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.util.AbstractCollection
contains, containsAll, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
contains, containsAll, equals, hashCode, isEmpty, iterator, parallelStream, remove, removeAll, removeIf, retainAll, size, spliterator, stream, toArray, toArray, toArray
-
Constructor Details
-
StablePriorityQueue
-
-
Method Details
-
backingQueue
- Specified by:
backingQueuein interfacePriorityQueueStabilizer<E>
-
org$apache$pekko$util$PriorityQueueStabilizer$_setter_$seqNum_$eq
- Specified by:
org$apache$pekko$util$PriorityQueueStabilizer$_setter_$seqNum_$eqin interfacePriorityQueueStabilizer<E>
-
seqNum
- Specified by:
seqNumin interfacePriorityQueueStabilizer<E>
-