public abstract class AbstractFloatPriorityQueue extends AbstractPriorityQueue<Float> implements Serializable, FloatPriorityQueue
| Constructor and Description |
|---|
AbstractFloatPriorityQueue() |
| Modifier and Type | Method and Description |
|---|---|
Float |
dequeue()
Deprecated.
Please use the corresponding type-specific method instead.
|
void |
enqueue(Float x)
Deprecated.
Please use the corresponding type-specific method instead.
|
Float |
first()
Deprecated.
Please use the corresponding type-specific method instead.
|
Float |
last()
Deprecated.
Please use the corresponding type-specific method instead.
|
float |
lastFloat()
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, dequeueFloat, enqueue, firstFloatchanged, clear, isEmpty, size@Deprecated public void enqueue(Float x)
This implementation delegates to the corresponding type-specific method.
enqueue in interface FloatPriorityQueueenqueue in interface PriorityQueue<Float>x - the element to enqueue..@Deprecated public Float dequeue()
This implementation delegates to the corresponding type-specific method.
dequeue in interface FloatPriorityQueuedequeue in interface PriorityQueue<Float>@Deprecated public Float first()
This implementation delegates to the corresponding type-specific method.
first in interface FloatPriorityQueuefirst in interface PriorityQueue<Float>@Deprecated public Float last()
This implementation just throws an UnsupportedOperationException.
This implementation delegates to the corresponding type-specific method.
last in interface FloatPriorityQueuelast in interface PriorityQueue<Float>last in class AbstractPriorityQueue<Float>public float lastFloat()
This implementation always throws an
UnsupportedOperationException.
lastFloat in interface FloatPriorityQueueFloatPriorityQueue.last()