E - element classpublic interface SmartPriorityQueue<E> extends SmartCollection<E>
Comparable or can be compared using a comparator), or have external keys
attached.| Modifier and Type | Method and Description |
|---|---|
E |
extractMin()
Retrieves and removes the element with the minimum key in the priority queue.
|
E |
peekMin()
Retrieves, but does not remove the element with the minimum key in the priority queue.
|
addAll, addAll, choose, chooseRef, deepClear, find, get, quickClear, referencedAdd, referenceIterator, references, remove, remove, replaceadd, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, parallelStream, removeAll, removeIf, retainAll, size, spliterator, stream, toArray, toArrayE peekMin()
E extractMin()
Copyright © 2020. All rights reserved.