Package | Description |
---|---|
com.google.common.collect |
This package contains generic collection interfaces and implementations, and other utilities for
working with collections.
|
com.google.common.testing |
This package contains testing utilities.
|
Modifier and Type | Method and Description |
---|---|
static <E extends java.lang.Comparable> |
TreeMultiset.create()
Creates a new, empty multiset, sorted according to the elements' natural order.
|
static <E> TreeMultiset<E> |
TreeMultiset.create(java.util.Comparator<? super E> comparator)
Creates a new, empty multiset, sorted according to the specified comparator.
|
static <E extends java.lang.Comparable> |
TreeMultiset.create(java.lang.Iterable<? extends E> elements)
Creates an empty multiset containing the given initial elements, sorted according to the
elements' natural order.
|
Modifier and Type | Method and Description |
---|---|
(package private) static <E extends java.lang.Comparable<E>> |
FreshValueGenerator.generateTreeMultiset(E freshElement) |