public interface BooleanPriorityDequeue extends BooleanPriorityQueue
| Modifier and Type | Method and Description |
|---|---|
BooleanPriorityDequeue |
copy()
A Function that does a shallow clone of the PriorityQueue itself.
|
boolean |
dequeueLast()
A Method to remove a element from the last place instead of the first
|
default void |
enqueueAllFirst(boolean... e)
Method to mass insert a elements into the first Index of the PriorityDequeue.
|
default void |
enqueueAllFirst(boolean[] e,
int length)
Method to mass insert a elements into the first Index of the PriorityDequeue.
|
default void |
enqueueAllFirst(boolean[] e,
int offset,
int length)
Method to mass insert a elements into the first Index of the PriorityDequeue.
|
default void |
enqueueAllFirst(BooleanCollection c)
Method to mass insert elements into first Index of the PriorityDequeue.
|
void |
enqueueFirst(boolean e)
Method to insert a element into the first Index instead of the last.
|
default boolean |
last()
Peeking function for the last element
|
default BooleanPriorityDequeue |
synchronizeQueue()
Creates a Wrapped PriorityDequeue that is Synchronized
|
default BooleanPriorityDequeue |
synchronizeQueue(java.lang.Object mutex)
Creates a Wrapped PriorityDequeue that is Synchronized
|
clear, comparator, dequeue, enqueue, enqueueAll, enqueueAll, enqueueAll, enqueueAll, first, isEmpty, onChanged, peek, removeFirst, removeLast, size, toBooleanArray, toBooleanArrayarrayflatMap, asAsync, count, distinct, filter, findFirst, flatMap, forEach, forEach, forEach, forEachIndexed, iterator, limit, map, matchesAll, matchesAny, matchesNone, peek, pour, pourAsList, reduce, reduce, repeat, sorted, spliteratorvoid enqueueFirst(boolean e)
e - the element that should be inserted into the first placedefault void enqueueAllFirst(boolean... e)
e - the elements that should be inserteddefault void enqueueAllFirst(boolean[] e,
int length)
e - the elements that should be insertedlength - the amount of elements that should be inserteddefault void enqueueAllFirst(boolean[] e,
int offset,
int length)
e - the elements that should be insertedoffset - the offset where in the array should be startedlength - the amount of elements that should be inserteddefault void enqueueAllFirst(BooleanCollection c)
c - the elements that should be inserted from the Collectionboolean dequeueLast()
java.util.NoSuchElementException - if no element is in the dequedefault boolean last()
default BooleanPriorityDequeue synchronizeQueue()
synchronizeQueue in interface BooleanPriorityQueueBooleanPriorityQueues.synchronize(speiger.src.collections.booleans.queues.BooleanPriorityQueue)default BooleanPriorityDequeue synchronizeQueue(java.lang.Object mutex)
synchronizeQueue in interface BooleanPriorityQueuemutex - is the controller of the synchronization blockBooleanPriorityQueues.synchronize(speiger.src.collections.booleans.queues.BooleanPriorityQueue)BooleanPriorityDequeue copy()
BooleanPriorityQueuecopy in interface BooleanPriorityQueue