public static class LongPriorityQueues.SynchronizedPriorityDequeue extends LongPriorityQueues.SynchronizedPriorityQueue implements LongPriorityDequeue
| Modifier and Type | Method and Description |
|---|---|
LongPriorityDequeue |
copy()
A Function that does a shallow clone of the PriorityQueue itself.
|
long |
dequeueLast()
A Method to remove a element from the last place instead of the first
|
void |
enqueueAllFirst(long[] e,
int offset,
int length)
Method to mass insert a elements into the first Index of the PriorityDequeue.
|
void |
enqueueAllFirst(LongCollection c)
Method to mass insert elements into first Index of the PriorityDequeue.
|
void |
enqueueFirst(long 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, toLongArrayequals, 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, toLongArray, toLongArrayarrayflatMap, 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(long e)
LongPriorityDequeueenqueueFirst in interface LongPriorityDequeuee - the element that should be inserted into the first placepublic void enqueueAllFirst(long[] e,
int offset,
int length)
LongPriorityDequeueenqueueAllFirst in interface LongPriorityDequeuee - 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(LongCollection c)
LongPriorityDequeueenqueueAllFirst in interface LongPriorityDequeuec - the elements that should be inserted from the Collectionpublic long dequeueLast()
LongPriorityDequeuedequeueLast in interface LongPriorityDequeuepublic LongPriorityDequeue copy()
LongPriorityQueuecopy in interface LongPriorityDequeuecopy in interface LongPriorityQueuecopy in class LongPriorityQueues.SynchronizedPriorityQueue