public interface BooleanPriorityDequeue extends BooleanPriorityQueue
| Modifier and Type | Method and Description |
|---|---|
default java.lang.Boolean |
dequeueLast()
Deprecated.
|
boolean |
dequeueLastBoolean()
A Method to remove a element from the last place instead of the first
|
default void |
enqueueFirst(java.lang.Boolean e)
Deprecated.
|
void |
enqueueFirstBoolean(boolean e)
Method to insert a element into the first Index instead of the last.
|
default java.lang.Boolean |
last()
Deprecated.
|
default boolean |
lastBoolean()
Peeking function for the last element
|
comparator, dequeue, dequeueBoolean, enqueue, enqueueBoolean, first, firstBoolean, onChanged, peek, peekBoolean, remove, removeBoolean, removeLast, removeLastBoolean, toArray, toArray, toBooleanArray, toBooleanArrayclear, isEmpty, sizeforEach, forEach, iterator, spliteratorvoid enqueueFirstBoolean(boolean e)
e - the element that should be inserted into the first placeboolean dequeueLastBoolean()
java.util.NoSuchElementException - if no element is in the dequedefault boolean lastBoolean()
@Deprecated default void enqueueFirst(java.lang.Boolean e)
e - the boxed element that should be inserted@Deprecated default java.lang.Boolean dequeueLast()
java.util.NoSuchElementException - if no element is in the dequeue@Deprecated default java.lang.Boolean last()