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>

public class StablePriorityQueue<E> extends AbstractQueue<E> implements 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 &gt; 0. param: cmp - Comparator for comparing Queue elements