public abstract class AbstractLongPriorityQueue extends AbstractPriorityQueue<Long> implements Serializable, LongPriorityQueue
| Constructor and Description |
|---|
AbstractLongPriorityQueue() |
| Modifier and Type | Method and Description |
|---|---|
Long |
dequeue()
Deprecated.
Please use the corresponding type-specific method instead.
|
void |
enqueue(Long x)
Deprecated.
Please use the corresponding type-specific method instead.
|
Long |
first()
Deprecated.
Please use the corresponding type-specific method instead.
|
Long |
last()
Deprecated.
Please use the corresponding type-specific method instead.
|
long |
lastLong()
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, dequeueLong, enqueue, firstLongchanged, clear, isEmpty, size@Deprecated public void enqueue(Long x)
This implementation delegates to the corresponding type-specific method.
enqueue in interface LongPriorityQueueenqueue in interface PriorityQueue<Long>x - the element to enqueue..@Deprecated public Long dequeue()
This implementation delegates to the corresponding type-specific method.
dequeue in interface LongPriorityQueuedequeue in interface PriorityQueue<Long>@Deprecated public Long first()
This implementation delegates to the corresponding type-specific method.
first in interface LongPriorityQueuefirst in interface PriorityQueue<Long>@Deprecated public Long last()
This implementation just throws an UnsupportedOperationException.
This implementation delegates to the corresponding type-specific method.
last in interface LongPriorityQueuelast in interface PriorityQueue<Long>last in class AbstractPriorityQueue<Long>public long lastLong()
This implementation always throws an
UnsupportedOperationException.
lastLong in interface LongPriorityQueueLongPriorityQueue.last()