public static class BooleanPriorityQueues.SynchronizedPriorityDequeue extends BooleanPriorityQueues.SynchronizedPriorityQueue implements BooleanPriorityDequeue
| 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
|
void |
enqueueAllFirst(boolean[] e,
int offset,
int length)
Method to mass insert a elements into the first Index of the PriorityDequeue.
|
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.
|
clear, comparator, count, dequeue, enqueue, enqueueAll, enqueueAll, findFirst, forEach, forEach, iterator, matchesAll, matchesAny, matchesNone, onChanged, peek, removeFirst, removeLast, size, toBooleanArrayequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitenqueueAllFirst, enqueueAllFirst, last, synchronizeQueue, synchronizeQueueclear, 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, iterator, limit, map, matchesAll, matchesAny, matchesNone, peek, pour, pourAsList, reduce, reduce, sorted, spliteratorpublic void enqueueFirst(boolean e)
BooleanPriorityDequeueenqueueFirst in interface BooleanPriorityDequeuee - the element that should be inserted into the first placepublic void enqueueAllFirst(boolean[] e,
int offset,
int length)
BooleanPriorityDequeueenqueueAllFirst in interface BooleanPriorityDequeuee - the elements that should be insertedoffset - the offset where in the array should be startedlength - the amount of elements that should be insertedpublic void enqueueAllFirst(BooleanCollection c)
BooleanPriorityDequeueenqueueAllFirst in interface BooleanPriorityDequeuec - the elements that should be inserted from the Collectionpublic boolean dequeueLast()
BooleanPriorityDequeuedequeueLast in interface BooleanPriorityDequeuepublic BooleanPriorityDequeue copy()
BooleanPriorityQueuecopy in interface BooleanPriorityDequeuecopy in interface BooleanPriorityQueuecopy in class BooleanPriorityQueues.SynchronizedPriorityQueue