public abstract class AbstractBytePriorityQueue extends AbstractPriorityQueue<Byte> implements Serializable, BytePriorityQueue
| Constructor and Description |
|---|
AbstractBytePriorityQueue() |
| Modifier and Type | Method and Description |
|---|---|
Byte |
dequeue()
Deprecated.
Please use the corresponding type-specific method instead.
|
void |
enqueue(Byte x)
Deprecated.
Please use the corresponding type-specific method instead.
|
Byte |
first()
Deprecated.
Please use the corresponding type-specific method instead.
|
Byte |
last()
Deprecated.
Please use the corresponding type-specific method instead.
|
byte |
lastByte()
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, dequeueByte, enqueue, firstBytechanged, clear, isEmpty, size@Deprecated public void enqueue(Byte x)
This implementation delegates to the corresponding type-specific method.
enqueue in interface BytePriorityQueueenqueue in interface PriorityQueue<Byte>x - the element to enqueue..@Deprecated public Byte dequeue()
This implementation delegates to the corresponding type-specific method.
dequeue in interface BytePriorityQueuedequeue in interface PriorityQueue<Byte>@Deprecated public Byte first()
This implementation delegates to the corresponding type-specific method.
first in interface BytePriorityQueuefirst in interface PriorityQueue<Byte>@Deprecated public Byte last()
This implementation just throws an UnsupportedOperationException.
This implementation delegates to the corresponding type-specific method.
last in interface BytePriorityQueuelast in interface PriorityQueue<Byte>last in class AbstractPriorityQueue<Byte>public byte lastByte()
This implementation always throws an
UnsupportedOperationException.
lastByte in interface BytePriorityQueueBytePriorityQueue.last()