|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectit.unimi.dsi.fastutil.AbstractPriorityQueue<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 | |
|---|---|
Double |
dequeue()
Delegates to the corresponding type-specific method. |
void |
enqueue(Double x)
Delegates to the corresponding type-specific method. |
Double |
first()
Delegates to the corresponding type-specific method. |
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(Double x)
enqueue in interface PriorityQueue<Double>x - the element to enqueue..public Double dequeue()
dequeue in interface PriorityQueue<Double>public Double first()
first in interface PriorityQueue<Double>public Double last()
last in interface PriorityQueue<Double>last in class AbstractPriorityQueue<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 | ||||||||