public abstract class AbstractShortPriorityQueue extends AbstractPriorityQueue<Short> implements Serializable, ShortPriorityQueue
| Constructor and Description |
|---|
AbstractShortPriorityQueue() |
| Modifier and Type | Method and Description |
|---|---|
Short |
dequeue()
Deprecated.
Please use the corresponding type-specific method instead.
|
void |
enqueue(Short x)
Deprecated.
Please use the corresponding type-specific method instead.
|
Short |
first()
Deprecated.
Please use the corresponding type-specific method instead.
|
Short |
last()
Deprecated.
Please use the corresponding type-specific method instead.
|
short |
lastShort()
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, dequeueShort, enqueue, firstShortchanged, clear, isEmpty, size@Deprecated public void enqueue(Short x)
This implementation delegates to the corresponding type-specific method.
enqueue in interface PriorityQueue<Short>enqueue in interface ShortPriorityQueuex - the element to enqueue..@Deprecated public Short dequeue()
This implementation delegates to the corresponding type-specific method.
dequeue in interface PriorityQueue<Short>dequeue in interface ShortPriorityQueue@Deprecated public Short first()
This implementation delegates to the corresponding type-specific method.
first in interface PriorityQueue<Short>first in interface ShortPriorityQueue@Deprecated public Short last()
This implementation just throws an UnsupportedOperationException.
This implementation delegates to the corresponding type-specific method.
last in interface PriorityQueue<Short>last in interface ShortPriorityQueuelast in class AbstractPriorityQueue<Short>public short lastShort()
This implementation always throws an
UnsupportedOperationException.
lastShort in interface ShortPriorityQueueShortPriorityQueue.last()