- <init>
- add
- adjustTop
Should be called when the Object at top changes values. Still log(n) worst case,
but it's at least t
- peek
Returns the least element of the PriorityQueue in constant time, but does not
remove it from the pri
- poll
Removes and returns the least element of the PriorityQueue in log(size) time.
- size
Returns the number of elements currently stored in the PriorityQueue.
- downHeap
- lessThan
Determines the ordering of objects in this priority queue.
- put
Adds a buffer to a PriorityQueue in log(size) time. If one tries to add more
objects than maxSize fr