public abstract class AbstractDoublePriorityQueue extends AbstractPriorityQueue<java.lang.Double> implements DoublePriorityQueue
| Constructor and Description |
|---|
AbstractDoublePriorityQueue() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Double |
dequeue()
Delegates to the corresponding type-specific method.
|
void |
enqueue(java.lang.Double x)
Delegates to the corresponding type-specific method.
|
java.lang.Double |
first()
Delegates to the corresponding type-specific method.
|
java.lang.Double |
last()
Delegates to the corresponding type-specific method.
|
double |
lastDouble()
Throws an
UnsupportedOperationException. |
changed, isEmptyequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcomparator, dequeueDouble, enqueue, firstDoublechanged, clear, isEmpty, sizepublic void enqueue(java.lang.Double x)
enqueue in interface PriorityQueue<java.lang.Double>x - the element to enqueue..public java.lang.Double dequeue()
dequeue in interface PriorityQueue<java.lang.Double>public java.lang.Double first()
first in interface PriorityQueue<java.lang.Double>public java.lang.Double last()
last in interface PriorityQueue<java.lang.Double>last in class AbstractPriorityQueue<java.lang.Double>public double lastDouble()
UnsupportedOperationException.lastDouble in interface DoublePriorityQueue