|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectit.unimi.dsi.fastutil.AbstractPriorityQueue<java.lang.Double>
it.unimi.dsi.fastutil.doubles.AbstractDoublePriorityQueue
public abstract class AbstractDoublePriorityQueue
An abstract class providing basic methods for priority queues implementing a type-specific interface.
Constructor Summary | |
---|---|
AbstractDoublePriorityQueue()
|
Method Summary | |
---|---|
java.lang.Double |
dequeue()
Delegates to the corresponding type-specific method. |
void |
enqueue(java.lang.Double x)
Delegates to the corresponding type-specific method. |
java.lang.Double |
first()
Delegates to the corresponding type-specific method. |
java.lang.Double |
last()
Delegates to the corresponding type-specific method. |
double |
lastDouble()
Throws an UnsupportedOperationException . |
Methods inherited from class it.unimi.dsi.fastutil.AbstractPriorityQueue |
---|
changed, isEmpty |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface it.unimi.dsi.fastutil.doubles.DoublePriorityQueue |
---|
comparator, dequeueDouble, enqueue, firstDouble |
Methods inherited from interface it.unimi.dsi.fastutil.PriorityQueue |
---|
changed, clear, isEmpty, size |
Constructor Detail |
---|
public AbstractDoublePriorityQueue()
Method Detail |
---|
public void enqueue(java.lang.Double x)
enqueue
in interface PriorityQueue<java.lang.Double>
x
- the element to enqueue..public java.lang.Double dequeue()
dequeue
in interface PriorityQueue<java.lang.Double>
public java.lang.Double first()
first
in interface PriorityQueue<java.lang.Double>
public java.lang.Double last()
last
in interface PriorityQueue<java.lang.Double>
last
in class AbstractPriorityQueue<java.lang.Double>
public double lastDouble()
UnsupportedOperationException
.
lastDouble
in interface DoublePriorityQueue
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |