public interface LongPriorityDequeue extends LongPriorityQueue
| Modifier and Type | Method and Description |
|---|---|
default java.lang.Long |
dequeueLast()
Deprecated.
|
long |
dequeueLastLong()
A Method to remove a element from the last place instead of the first
|
default void |
enqueueFirst(java.lang.Long e)
Deprecated.
|
void |
enqueueFirstLong(long e)
Method to insert a element into the first Index instead of the last.
|
default java.lang.Long |
last()
Deprecated.
|
default long |
lastLong()
Peeking function for the last element
|
comparator, dequeue, dequeueLong, enqueue, enqueueLong, first, firstLong, onChanged, peek, peekLong, remove, removeLast, removeLastLong, removeLong, toArray, toArray, toLongArray, toLongArrayclear, isEmpty, sizeforEach, forEach, iterator, spliteratorvoid enqueueFirstLong(long e)
e - the element that should be inserted into the first placelong dequeueLastLong()
java.util.NoSuchElementException - if no element is in the dequedefault long lastLong()
@Deprecated default void enqueueFirst(java.lang.Long e)
e - the boxed element that should be inserted@Deprecated default java.lang.Long dequeueLast()
java.util.NoSuchElementException - if no element is in the dequeue@Deprecated default java.lang.Long last()