|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectit.unimi.dsi.fastutil.AbstractPriorityQueue
it.unimi.dsi.fastutil.longs.AbstractLongPriorityQueue
An abstract class providing basic methods for priority queues implementing a type-specific interface.
| Constructor Summary | |
AbstractLongPriorityQueue()
|
|
| Method Summary | |
Object |
dequeue()
Delegates to the corresponding type-specific method. |
void |
enqueue(Object x)
Delegates to the corresponding type-specific method. |
Object |
first()
Delegates to the corresponding type-specific method. |
Object |
last()
Delegates to the corresponding type-specific method. |
long |
lastLong()
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.longs.LongPriorityQueue |
dequeueLong, enqueue, firstLong |
| Methods inherited from interface it.unimi.dsi.fastutil.PriorityQueue |
changed, clear, comparator, isEmpty, size |
| Constructor Detail |
public AbstractLongPriorityQueue()
| Method Detail |
public void enqueue(Object x)
enqueue in interface PriorityQueuex - the element to enqueue..public Object dequeue()
dequeue in interface PriorityQueuepublic Object first()
first in interface PriorityQueuepublic Object last()
last in interface PriorityQueuelast in class AbstractPriorityQueuepublic long lastLong()
UnsupportedOperationException.
lastLong in interface LongPriorityQueue
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||