<T extends B> MinMaxPriorityQueue<T> |
MinMaxPriorityQueue.Builder.create() |
Builds a new min-max priority queue using the previously specified options, and having no
initial contents.
|
<T extends B> MinMaxPriorityQueue<T> |
MinMaxPriorityQueue.Builder.create(java.lang.Iterable<? extends T> initialContents) |
Builds a new min-max priority queue using the previously specified options, and having the
given initial elements.
|
static <E extends java.lang.Comparable<E>> MinMaxPriorityQueue<E> |
MinMaxPriorityQueue.create() |
Creates a new min-max priority queue with default settings: natural order, no maximum size, no
initial contents, and an initial expected size of 11.
|
static <E extends java.lang.Comparable<E>> MinMaxPriorityQueue<E> |
MinMaxPriorityQueue.create(java.lang.Iterable<? extends E> initialContents) |
Creates a new min-max priority queue using natural order, no maximum size, and initially
containing the given elements.
|