public abstract class AbstractCharPriorityQueue extends AbstractPriorityQueue<Character> implements Serializable, CharPriorityQueue
| Constructor and Description |
|---|
AbstractCharPriorityQueue() |
| Modifier and Type | Method and Description |
|---|---|
Character |
dequeue()
Deprecated.
Please use the corresponding type-specific method instead.
|
void |
enqueue(Character x)
Deprecated.
Please use the corresponding type-specific method instead.
|
Character |
first()
Deprecated.
Please use the corresponding type-specific method instead.
|
Character |
last()
Deprecated.
Please use the corresponding type-specific method instead.
|
char |
lastChar()
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, dequeueChar, enqueue, firstCharchanged, clear, isEmpty, size@Deprecated public void enqueue(Character x)
This implementation delegates to the corresponding type-specific method.
enqueue in interface CharPriorityQueueenqueue in interface PriorityQueue<Character>x - the element to enqueue..@Deprecated public Character dequeue()
This implementation delegates to the corresponding type-specific method.
dequeue in interface CharPriorityQueuedequeue in interface PriorityQueue<Character>@Deprecated public Character first()
This implementation delegates to the corresponding type-specific method.
first in interface CharPriorityQueuefirst in interface PriorityQueue<Character>@Deprecated public Character last()
This implementation just throws an UnsupportedOperationException.
This implementation delegates to the corresponding type-specific method.
last in interface CharPriorityQueuelast in interface PriorityQueue<Character>last in class AbstractPriorityQueue<Character>public char lastChar()
This implementation always throws an
UnsupportedOperationException.
lastChar in interface CharPriorityQueueCharPriorityQueue.last()