public class ConcurrentStablePriorityQueue<P extends java.lang.Comparable<? super P>,E> extends PriorityQueue<P,E>
| Constructor and Description |
|---|
ConcurrentStablePriorityQueue() |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
@Nullable Pair<P,E> |
floorPair() |
boolean |
isEmpty() |
@NotNull java.util.Iterator<E> |
iterator() |
Guard |
lock() |
Pair<P,E> |
peekPair() |
E |
pop() |
E |
push(P priority,
E value) |
int |
size() |
void |
unlock() |
moveQueue, peekpublic boolean isEmpty()
isEmpty in class PriorityQueue<P extends java.lang.Comparable<? super P>,E>public int size()
size in class PriorityQueue<P extends java.lang.Comparable<? super P>,E>public E push(@NotNull P priority, @NotNull E value)
push in class PriorityQueue<P extends java.lang.Comparable<? super P>,E>public Pair<P,E> peekPair()
peekPair in class PriorityQueue<P extends java.lang.Comparable<? super P>,E>@Nullable public @Nullable Pair<P,E> floorPair()
floorPair in class PriorityQueue<P extends java.lang.Comparable<? super P>,E>public E pop()
pop in class PriorityQueue<P extends java.lang.Comparable<? super P>,E>public void clear()
clear in class PriorityQueue<P extends java.lang.Comparable<? super P>,E>public Guard lock()
lock in class PriorityQueue<P extends java.lang.Comparable<? super P>,E>public void unlock()
unlock in class PriorityQueue<P extends java.lang.Comparable<? super P>,E>@NotNull public @NotNull java.util.Iterator<E> iterator()