public interface DoublePriorityDequeue extends DoublePriorityQueue
| Modifier and Type | Method and Description |
|---|---|
default java.lang.Double |
dequeueLast()
Deprecated.
|
double |
dequeueLastDouble()
A Method to remove a element from the last place instead of the first
|
default void |
enqueueFirst(java.lang.Double e)
Deprecated.
|
void |
enqueueFirstDouble(double e)
Method to insert a element into the first Index instead of the last.
|
default java.lang.Double |
last()
Deprecated.
|
default double |
lastDouble()
Peeking function for the last element
|
comparator, dequeue, dequeueDouble, enqueue, enqueueDouble, first, firstDouble, onChanged, peek, peekDouble, remove, removeDouble, removeLast, removeLastDouble, toArray, toArray, toDoubleArray, toDoubleArrayclear, isEmpty, sizeforEach, forEach, iterator, spliteratorvoid enqueueFirstDouble(double e)
e - the element that should be inserted into the first placedouble dequeueLastDouble()
java.util.NoSuchElementException - if no element is in the dequedefault double lastDouble()
@Deprecated default void enqueueFirst(java.lang.Double e)
e - the boxed element that should be inserted@Deprecated default java.lang.Double dequeueLast()
java.util.NoSuchElementException - if no element is in the dequeue@Deprecated default java.lang.Double last()