Package | Description |
---|---|
com.google.common.collect |
This package contains generic collection interfaces and implementations, and other utilities for
working with collections.
|
Modifier and Type | Method and Description |
---|---|
static <E extends Comparable<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.
|
<T extends B> |
MinMaxPriorityQueue.Builder.create()
Builds a new min-max priority queue using the previously specified options, and having no
initial contents.
|
static <E extends Comparable<E>> |
MinMaxPriorityQueue.create(Iterable<? extends E> initialContents)
Creates a new min-max priority queue using natural order, no maximum size, and initially
containing the given elements.
|
<T extends B> |
MinMaxPriorityQueue.Builder.create(Iterable<? extends T> initialContents)
Builds a new min-max priority queue using the previously specified options, and having the
given initial elements.
|
Copyright © 2010–2020. All rights reserved.