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