public abstract class AbstractDoublePriorityQueue extends AbstractPriorityQueue<Double> implements Serializable, DoublePriorityQueue
| Constructor and Description |
|---|
AbstractDoublePriorityQueue() |
| Modifier and Type | Method and Description |
|---|---|
Double |
dequeue()
Deprecated.
Please use the corresponding type-specific method instead.
|
void |
enqueue(Double x)
Deprecated.
Please use the corresponding type-specific method instead.
|
Double |
first()
Deprecated.
Please use the corresponding type-specific method instead.
|
Double |
last()
Deprecated.
Please use the corresponding type-specific method instead.
|
double |
lastDouble()
Returns the last element of the queue, that is, the element the would be
dequeued last (optional operation).
|
changed, isEmptyequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcomparator, dequeueDouble, enqueue, firstDoublechanged, clear, isEmpty, size@Deprecated public void enqueue(Double x)
This implementation delegates to the corresponding type-specific method.
enqueue in interface DoublePriorityQueueenqueue in interface PriorityQueue<Double>x - the element to enqueue..@Deprecated public Double dequeue()
This implementation delegates to the corresponding type-specific method.
dequeue in interface DoublePriorityQueuedequeue in interface PriorityQueue<Double>@Deprecated public Double first()
This implementation delegates to the corresponding type-specific method.
first in interface DoublePriorityQueuefirst in interface PriorityQueue<Double>@Deprecated public Double last()
This implementation just throws an UnsupportedOperationException.
This implementation delegates to the corresponding type-specific method.
last in interface DoublePriorityQueuelast in interface PriorityQueue<Double>last in class AbstractPriorityQueue<Double>public double lastDouble()
This implementation always throws an
UnsupportedOperationException.
lastDouble in interface DoublePriorityQueueDoublePriorityQueue.last()