- isEmpty
- peek
- poll
- pollLast
Removes and returns the greatest element of this queue, or returns null if the
queue is empty.
- remove
- <init>
- add
Adds the given element to this queue. If this queue has a maximum size, after
adding element the que
- calculateNewCapacity
Returns ~2x the old capacity if small; ~1.5x otherwise.
- capAtMaximumSize
There's no reason for the queueSize to ever be more than maxSize + 1
- elementData
- expectedSize
Creates and returns a new builder, configured to build MinMaxPriorityQueue
instances sized appropria
- fillHole