public abstract class AbstractBytePriorityQueue extends AbstractPriorityQueue<Byte> implements BytePriorityQueue
| Constructor and Description |
|---|
AbstractBytePriorityQueue() |
| Modifier and Type | Method and Description |
|---|---|
Byte |
dequeue()
Delegates to the corresponding type-specific method.
|
void |
enqueue(Byte x)
Delegates to the corresponding type-specific method.
|
Byte |
first()
Delegates to the corresponding type-specific method.
|
Byte |
last()
Delegates to the corresponding type-specific method.
|
byte |
lastByte()
Throws an
UnsupportedOperationException. |
changed, isEmptyequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcomparator, dequeueByte, enqueue, firstBytechanged, clear, isEmpty, sizepublic void enqueue(Byte x)
enqueue in interface PriorityQueue<Byte>x - the element to enqueue..public Byte dequeue()
dequeue in interface PriorityQueue<Byte>public Byte first()
first in interface PriorityQueue<Byte>public Byte last()
last in interface PriorityQueue<Byte>last in class AbstractPriorityQueue<Byte>public byte lastByte()
UnsupportedOperationException.lastByte in interface BytePriorityQueue