public static class CharPriorityQueues.SynchronizedPriorityDequeue extends CharPriorityQueues.SynchronizedPriorityQueue implements CharPriorityDequeue
| Modifier and Type | Method and Description |
|---|---|
CharPriorityDequeue |
copy()
A Function that does a shallow clone of the PriorityQueue itself.
|
char |
dequeueLast()
A Method to remove a element from the last place instead of the first
|
void |
enqueueAllFirst(char[] e,
int offset,
int length)
Method to mass insert a elements into the first Index of the PriorityDequeue.
|
void |
enqueueAllFirst(CharCollection c)
Method to mass insert elements into first Index of the PriorityDequeue.
|
void |
enqueueFirst(char 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, toCharArrayequals, 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, toCharArray, toCharArrayarrayflatMap, asAsync, count, distinct, filter, findFirst, flatMap, forEach, forEach, forEach, iterator, limit, map, matchesAll, matchesAny, matchesNone, peek, pour, pourAsList, pourAsSet, reduce, reduce, sorted, spliteratorpublic void enqueueFirst(char e)
CharPriorityDequeueenqueueFirst in interface CharPriorityDequeuee - the element that should be inserted into the first placepublic void enqueueAllFirst(char[] e,
int offset,
int length)
CharPriorityDequeueenqueueAllFirst in interface CharPriorityDequeuee - 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(CharCollection c)
CharPriorityDequeueenqueueAllFirst in interface CharPriorityDequeuec - the elements that should be inserted from the Collectionpublic char dequeueLast()
CharPriorityDequeuedequeueLast in interface CharPriorityDequeuepublic CharPriorityDequeue copy()
CharPriorityQueuecopy in interface CharPriorityDequeuecopy in interface CharPriorityQueuecopy in class CharPriorityQueues.SynchronizedPriorityQueue