public static class BytePriorityQueues.SynchronizedPriorityDequeue extends BytePriorityQueues.SynchronizedPriorityQueue implements BytePriorityDequeue
| Modifier and Type | Method and Description |
|---|---|
BytePriorityDequeue |
copy()
A Function that does a shallow clone of the PriorityQueue itself.
|
byte |
dequeueLast()
A Method to remove a element from the last place instead of the first
|
void |
enqueueAllFirst(byte[] e,
int offset,
int length)
Method to mass insert a elements into the first Index of the PriorityDequeue.
|
void |
enqueueAllFirst(ByteCollection c)
Method to mass insert elements into first Index of the PriorityDequeue.
|
void |
enqueueFirst(byte 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, toByteArrayequals, 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, toByteArray, toByteArrayarrayflatMap, 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(byte e)
BytePriorityDequeueenqueueFirst in interface BytePriorityDequeuee - the element that should be inserted into the first placepublic void enqueueAllFirst(byte[] e,
int offset,
int length)
BytePriorityDequeueenqueueAllFirst in interface BytePriorityDequeuee - 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(ByteCollection c)
BytePriorityDequeueenqueueAllFirst in interface BytePriorityDequeuec - the elements that should be inserted from the Collectionpublic byte dequeueLast()
BytePriorityDequeuedequeueLast in interface BytePriorityDequeuepublic BytePriorityDequeue copy()
BytePriorityQueuecopy in interface BytePriorityDequeuecopy in interface BytePriorityQueuecopy in class BytePriorityQueues.SynchronizedPriorityQueue