|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectit.unimi.dsi.fastutil.AbstractPriorityQueue<Integer>
it.unimi.dsi.fastutil.ints.AbstractIntPriorityQueue
public abstract class AbstractIntPriorityQueue
An abstract class providing basic methods for priority queues implementing a type-specific interface.
| Constructor Summary | |
|---|---|
AbstractIntPriorityQueue()
|
|
| Method Summary | |
|---|---|
Integer |
dequeue()
Delegates to the corresponding type-specific method. |
void |
enqueue(Integer x)
Delegates to the corresponding type-specific method. |
Integer |
first()
Delegates to the corresponding type-specific method. |
Integer |
last()
Delegates to the corresponding type-specific method. |
int |
lastInt()
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.ints.IntPriorityQueue |
|---|
comparator, dequeueInt, enqueue, firstInt |
| Methods inherited from interface it.unimi.dsi.fastutil.PriorityQueue |
|---|
changed, clear, isEmpty, size |
| Constructor Detail |
|---|
public AbstractIntPriorityQueue()
| Method Detail |
|---|
public void enqueue(Integer x)
enqueue in interface PriorityQueue<Integer>x - the element to enqueue..public Integer dequeue()
dequeue in interface PriorityQueue<Integer>public Integer first()
first in interface PriorityQueue<Integer>public Integer last()
last in interface PriorityQueue<Integer>last in class AbstractPriorityQueue<Integer>public int lastInt()
UnsupportedOperationException.
lastInt in interface IntPriorityQueue
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||