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 MinMaxPriorityQueue.Builder<Comparable> |
MinMaxPriorityQueue.expectedSize(int expectedSize)
Creates and returns a new builder, configured to build
MinMaxPriorityQueue instances sized appropriately to hold expectedSize elements. |
MinMaxPriorityQueue.Builder<B> |
MinMaxPriorityQueue.Builder.expectedSize(int expectedSize)
Configures this builder to build min-max priority queues with an initial
expected size of
expectedSize . |
static MinMaxPriorityQueue.Builder<Comparable> |
MinMaxPriorityQueue.maximumSize(int maximumSize)
Creates and returns a new builder, configured to build
MinMaxPriorityQueue instances that are limited to maximumSize
elements. |
MinMaxPriorityQueue.Builder<B> |
MinMaxPriorityQueue.Builder.maximumSize(int maximumSize)
Configures this builder to build
MinMaxPriorityQueue instances
that are limited to maximumSize elements. |
static <B> MinMaxPriorityQueue.Builder<B> |
MinMaxPriorityQueue.orderedBy(Comparator<B> comparator)
Creates and returns a new builder, configured to build
MinMaxPriorityQueue instances that use comparator to determine the
least and greatest elements. |
Copyright © 2010-2017. All Rights Reserved.