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