public interface BytePriorityQueue extends ObjectPriorityQueue<java.lang.Byte>, ByteIterable
| Modifier and Type | Method and Description |
|---|---|
ByteComparator |
comparator() |
default java.lang.Byte |
dequeue()
Deprecated.
|
byte |
dequeueByte()
Method to extract a element from the PriorityQueue
|
default void |
enqueue(java.lang.Byte e)
Deprecated.
|
void |
enqueueByte(byte e)
Method to insert a element into the PriorityQueue
|
default java.lang.Byte |
first()
Deprecated.
|
default byte |
firstByte()
Shows the element that is to be returned next
|
void |
onChanged()
Allows to notify the Queue to be revalidate its data
|
default java.lang.Byte |
peek(int index)
Deprecated.
|
byte |
peekByte(int index)
Peeking function to see whats inside the queue.
|
default boolean |
remove(java.lang.Byte e)
Deprecated.
|
boolean |
removeByte(byte e)
Removes the first found element in the queue
|
default boolean |
removeLast(java.lang.Byte e)
Deprecated.
|
boolean |
removeLastByte(byte e)
Removes the last found element in the queue
|
default java.lang.Byte[] |
toArray()
Deprecated.
|
java.lang.Byte[] |
toArray(java.lang.Byte[] input)
Deprecated.
|
default byte[] |
toByteArray()
A method to drop the contents of the Queue without clearing the queue
|
byte[] |
toByteArray(byte[] input)
A method to drop the contents of the Queue without clearing the queue
|
clear, isEmpty, sizeforEach, forEach, iterator, spliteratorvoid enqueueByte(byte e)
e - the element that should be insertedbyte dequeueByte()
java.util.NoSuchElementException - if no element is presentbyte peekByte(int index)
index - of the element that is requested to be viewed.default byte firstByte()
boolean removeByte(byte e)
e - the element that should be removedboolean removeLastByte(byte e)
e - the element that should be removedvoid onChanged()
onChanged in interface ObjectPriorityQueue<java.lang.Byte>ByteComparator comparator()
comparator in interface ObjectPriorityQueue<java.lang.Byte>default byte[] toByteArray()
byte[] toByteArray(byte[] input)
input - where the elements should be inserted to. If it does not fit then it creates a new appropiatly created array@Deprecated default void enqueue(java.lang.Byte e)
ObjectPriorityQueueenqueue in interface ObjectPriorityQueue<java.lang.Byte>e - the element that should be inserted@Deprecated default java.lang.Byte dequeue()
ObjectPriorityQueuedequeue in interface ObjectPriorityQueue<java.lang.Byte>@Deprecated default java.lang.Byte peek(int index)
ObjectPriorityQueuepeek in interface ObjectPriorityQueue<java.lang.Byte>index - of the element that is requested to be viewed.@Deprecated default java.lang.Byte first()
ObjectPriorityQueuefirst in interface ObjectPriorityQueue<java.lang.Byte>@Deprecated default boolean remove(java.lang.Byte e)
ObjectPriorityQueueremove in interface ObjectPriorityQueue<java.lang.Byte>e - the element that should be removed@Deprecated default boolean removeLast(java.lang.Byte e)
ObjectPriorityQueueremoveLast in interface ObjectPriorityQueue<java.lang.Byte>e - the element that should be removed@Deprecated default java.lang.Byte[] toArray()
ObjectPriorityQueuetoArray in interface ObjectPriorityQueue<java.lang.Byte>@Deprecated java.lang.Byte[] toArray(java.lang.Byte[] input)
ObjectPriorityQueuetoArray in interface ObjectPriorityQueue<java.lang.Byte>input - where the elements should be inserted to. If it does not fit then it creates a new appropiatly created array