| 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 |
TreeMultiset.create()
Creates a new, empty multiset, sorted according to the elements' natural order.
|
static <E> TreeMultiset |
TreeMultiset.create(Comparator
Creates a new, empty multiset, sorted according to the specified comparator.
|
static <E extends Comparable |
TreeMultiset.create(Iterable
Creates an empty multiset containing the given initial elements, sorted according to the elements' natural order.
|