public interface FloatPriorityQueue extends ObjectPriorityQueue<java.lang.Float>, FloatIterable
| Modifier and Type | Method and Description |
|---|---|
FloatComparator |
comparator() |
default java.lang.Float |
dequeue()
Deprecated.
|
float |
dequeueFloat()
Method to extract a element from the PriorityQueue
|
default void |
enqueue(java.lang.Float e)
Deprecated.
|
void |
enqueueFloat(float e)
Method to insert a element into the PriorityQueue
|
default java.lang.Float |
first()
Deprecated.
|
default float |
firstFloat()
Shows the element that is to be returned next
|
void |
onChanged()
Allows to notify the Queue to be revalidate its data
|
default java.lang.Float |
peek(int index)
Deprecated.
|
float |
peekFloat(int index)
Peeking function to see whats inside the queue.
|
default boolean |
remove(java.lang.Float e)
Deprecated.
|
boolean |
removeFloat(float e)
Removes the first found element in the queue
|
default boolean |
removeLast(java.lang.Float e)
Deprecated.
|
boolean |
removeLastFloat(float e)
Removes the last found element in the queue
|
default java.lang.Float[] |
toArray()
Deprecated.
|
java.lang.Float[] |
toArray(java.lang.Float[] input)
Deprecated.
|
default float[] |
toFloatArray()
A method to drop the contents of the Queue without clearing the queue
|
float[] |
toFloatArray(float[] input)
A method to drop the contents of the Queue without clearing the queue
|
clear, isEmpty, sizeforEach, forEach, iterator, spliteratorvoid enqueueFloat(float e)
e - the element that should be insertedfloat dequeueFloat()
java.util.NoSuchElementException - if no element is presentfloat peekFloat(int index)
index - of the element that is requested to be viewed.default float firstFloat()
boolean removeFloat(float e)
e - the element that should be removedboolean removeLastFloat(float e)
e - the element that should be removedvoid onChanged()
onChanged in interface ObjectPriorityQueue<java.lang.Float>FloatComparator comparator()
comparator in interface ObjectPriorityQueue<java.lang.Float>default float[] toFloatArray()
float[] toFloatArray(float[] 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.Float e)
ObjectPriorityQueueenqueue in interface ObjectPriorityQueue<java.lang.Float>e - the element that should be inserted@Deprecated default java.lang.Float dequeue()
ObjectPriorityQueuedequeue in interface ObjectPriorityQueue<java.lang.Float>@Deprecated default java.lang.Float peek(int index)
ObjectPriorityQueuepeek in interface ObjectPriorityQueue<java.lang.Float>index - of the element that is requested to be viewed.@Deprecated default java.lang.Float first()
ObjectPriorityQueuefirst in interface ObjectPriorityQueue<java.lang.Float>@Deprecated default boolean remove(java.lang.Float e)
ObjectPriorityQueueremove in interface ObjectPriorityQueue<java.lang.Float>e - the element that should be removed@Deprecated default boolean removeLast(java.lang.Float e)
ObjectPriorityQueueremoveLast in interface ObjectPriorityQueue<java.lang.Float>e - the element that should be removed@Deprecated default java.lang.Float[] toArray()
ObjectPriorityQueuetoArray in interface ObjectPriorityQueue<java.lang.Float>@Deprecated java.lang.Float[] toArray(java.lang.Float[] input)
ObjectPriorityQueuetoArray in interface ObjectPriorityQueue<java.lang.Float>input - where the elements should be inserted to. If it does not fit then it creates a new appropiatly created array