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