public static class ShortPriorityQueues.SynchronizedPriorityDequeue extends ShortPriorityQueues.SynchronizedPriorityQueue implements ShortPriorityDequeue
| Modifier and Type | Method and Description |
|---|---|
ShortPriorityDequeue |
copy()
A Function that does a shallow clone of the PriorityQueue itself.
|
short |
dequeueLast()
A Method to remove a element from the last place instead of the first
|
void |
enqueueAllFirst(short[] e,
int offset,
int length)
Method to mass insert a elements into the first Index of the PriorityDequeue.
|
void |
enqueueAllFirst(ShortCollection c)
Method to mass insert elements into first Index of the PriorityDequeue.
|
void |
enqueueFirst(short 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, toShortArrayequals, 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, toShortArray, toShortArrayarrayflatMap, 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(short e)
ShortPriorityDequeueenqueueFirst in interface ShortPriorityDequeuee - the element that should be inserted into the first placepublic void enqueueAllFirst(short[] e,
int offset,
int length)
ShortPriorityDequeueenqueueAllFirst in interface ShortPriorityDequeuee - 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(ShortCollection c)
ShortPriorityDequeueenqueueAllFirst in interface ShortPriorityDequeuec - the elements that should be inserted from the Collectionpublic short dequeueLast()
ShortPriorityDequeuedequeueLast in interface ShortPriorityDequeuepublic ShortPriorityDequeue copy()
ShortPriorityQueuecopy in interface ShortPriorityDequeuecopy in interface ShortPriorityQueuecopy in class ShortPriorityQueues.SynchronizedPriorityQueue