public static class DoublePriorityQueues.SynchronizedPriorityDequeue extends DoublePriorityQueues.SynchronizedPriorityQueue implements DoublePriorityDequeue
| Modifier and Type | Method and Description |
|---|---|
DoublePriorityDequeue |
copy()
A Function that does a shallow clone of the PriorityQueue itself.
|
double |
dequeueLast()
A Method to remove a element from the last place instead of the first
|
void |
enqueueAllFirst(double[] e,
int offset,
int length)
Method to mass insert a elements into the first Index of the PriorityDequeue.
|
void |
enqueueAllFirst(DoubleCollection c)
Method to mass insert elements into first Index of the PriorityDequeue.
|
void |
enqueueFirst(double 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, toDoubleArrayequals, 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, toDoubleArray, toDoubleArrayarrayflatMap, 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(double e)
DoublePriorityDequeueenqueueFirst in interface DoublePriorityDequeuee - the element that should be inserted into the first placepublic void enqueueAllFirst(double[] e,
int offset,
int length)
DoublePriorityDequeueenqueueAllFirst in interface DoublePriorityDequeuee - 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(DoubleCollection c)
DoublePriorityDequeueenqueueAllFirst in interface DoublePriorityDequeuec - the elements that should be inserted from the Collectionpublic double dequeueLast()
DoublePriorityDequeuedequeueLast in interface DoublePriorityDequeuepublic DoublePriorityDequeue copy()
DoublePriorityQueuecopy in interface DoublePriorityDequeuecopy in interface DoublePriorityQueuecopy in class DoublePriorityQueues.SynchronizedPriorityQueue