public abstract class AbstractFloatPriorityQueue extends AbstractPriorityQueue<java.lang.Float> implements java.io.Serializable, FloatPriorityQueue
Constructor and Description |
---|
AbstractFloatPriorityQueue() |
Modifier and Type | Method and Description |
---|---|
java.lang.Float |
dequeue()
Deprecated.
Please use the corresponding type-specific method instead.
|
void |
enqueue(java.lang.Float x)
Deprecated.
Please use the corresponding type-specific method instead.
|
java.lang.Float |
first()
Deprecated.
Please use the corresponding type-specific method instead.
|
java.lang.Float |
last()
Deprecated.
Please use the corresponding type-specific method instead.
|
float |
lastFloat()
Throws an
UnsupportedOperationException . |
changed, isEmpty
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
comparator, dequeueFloat, enqueue, firstFloat
changed, clear, isEmpty, size
@Deprecated public void enqueue(java.lang.Float x)
enqueue
in interface PriorityQueue<java.lang.Float>
x
- the element to enqueue..@Deprecated public java.lang.Float dequeue()
dequeue
in interface PriorityQueue<java.lang.Float>
@Deprecated public java.lang.Float first()
first
in interface PriorityQueue<java.lang.Float>
@Deprecated public java.lang.Float last()
last
in interface PriorityQueue<java.lang.Float>
last
in class AbstractPriorityQueue<java.lang.Float>
public float lastFloat()
UnsupportedOperationException
.lastFloat
in interface FloatPriorityQueue