public abstract class AbstractIntPriorityQueue extends AbstractPriorityQueue<Integer> implements Serializable, IntPriorityQueue
| Constructor and Description |
|---|
AbstractIntPriorityQueue() |
| Modifier and Type | Method and Description |
|---|---|
Integer |
dequeue()
Deprecated.
Please use the corresponding type-specific method instead.
|
void |
enqueue(Integer x)
Deprecated.
Please use the corresponding type-specific method instead.
|
Integer |
first()
Deprecated.
Please use the corresponding type-specific method instead.
|
Integer |
last()
Deprecated.
Please use the corresponding type-specific method instead.
|
int |
lastInt()
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, dequeueInt, enqueue, firstIntchanged, clear, isEmpty, size@Deprecated public void enqueue(Integer x)
This implementation delegates to the corresponding type-specific method.
enqueue in interface IntPriorityQueueenqueue in interface PriorityQueue<Integer>x - the element to enqueue..@Deprecated public Integer dequeue()
This implementation delegates to the corresponding type-specific method.
dequeue in interface IntPriorityQueuedequeue in interface PriorityQueue<Integer>@Deprecated public Integer first()
This implementation delegates to the corresponding type-specific method.
first in interface IntPriorityQueuefirst in interface PriorityQueue<Integer>@Deprecated public Integer last()
This implementation just throws an UnsupportedOperationException.
This implementation delegates to the corresponding type-specific method.
last in interface IntPriorityQueuelast in interface PriorityQueue<Integer>last in class AbstractPriorityQueue<Integer>public int lastInt()
This implementation always throws an
UnsupportedOperationException.
lastInt in interface IntPriorityQueueIntPriorityQueue.last()