public static class IntPriorityQueues.SynchronizedPriorityDequeue extends IntPriorityQueues.SynchronizedPriorityQueue implements IntPriorityDequeue
| Modifier and Type | Method and Description |
|---|---|
IntPriorityDequeue |
copy()
A Function that does a shallow clone of the PriorityQueue itself.
|
int |
dequeueLast()
A Method to remove a element from the last place instead of the first
|
void |
enqueueAllFirst(int[] e,
int offset,
int length)
Method to mass insert a elements into the first Index of the PriorityDequeue.
|
void |
enqueueAllFirst(IntCollection c)
Method to mass insert elements into first Index of the PriorityDequeue.
|
void |
enqueueFirst(int 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, toIntArrayequals, 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, toIntArray, toIntArrayarrayflatMap, asAsync, count, distinct, filter, findFirst, flatMap, forEach, forEach, forEach, forEachIndexed, iterator, limit, map, matchesAll, matchesAny, matchesNone, peek, pour, pourAsList, pourAsSet, reduce, reduce, repeat, sorted, spliteratorpublic void enqueueFirst(int e)
IntPriorityDequeueenqueueFirst in interface IntPriorityDequeuee - the element that should be inserted into the first placepublic void enqueueAllFirst(int[] e,
int offset,
int length)
IntPriorityDequeueenqueueAllFirst in interface IntPriorityDequeuee - 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(IntCollection c)
IntPriorityDequeueenqueueAllFirst in interface IntPriorityDequeuec - the elements that should be inserted from the Collectionpublic int dequeueLast()
IntPriorityDequeuedequeueLast in interface IntPriorityDequeuepublic IntPriorityDequeue copy()
IntPriorityQueuecopy in interface IntPriorityDequeuecopy in interface IntPriorityQueuecopy in class IntPriorityQueues.SynchronizedPriorityQueue