public abstract class AbstractDoublePriorityQueue extends AbstractPriorityQueue<java.lang.Double> implements java.io.Serializable, DoublePriorityQueue
Constructor and Description |
---|
AbstractDoublePriorityQueue() |
Modifier and Type | Method and Description |
---|---|
java.lang.Double |
dequeue()
Deprecated.
Please use the corresponding type-specific method instead.
|
void |
enqueue(java.lang.Double x)
Deprecated.
Please use the corresponding type-specific method instead.
|
java.lang.Double |
first()
Deprecated.
Please use the corresponding type-specific method instead.
|
java.lang.Double |
last()
Deprecated.
Please use the corresponding type-specific method instead.
|
double |
lastDouble()
Throws an
UnsupportedOperationException . |
changed, isEmpty
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
comparator, dequeueDouble, enqueue, firstDouble
changed, clear, isEmpty, size
@Deprecated public void enqueue(java.lang.Double x)
enqueue
in interface PriorityQueue<java.lang.Double>
x
- the element to enqueue..@Deprecated public java.lang.Double dequeue()
dequeue
in interface PriorityQueue<java.lang.Double>
@Deprecated public java.lang.Double first()
first
in interface PriorityQueue<java.lang.Double>
@Deprecated 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