static <E extends java.lang.Comparable> TreeMultiset<E> |
TreeMultiset.create() |
Creates a new, empty multiset, sorted according to the elements' natural order.
|
static <E extends java.lang.Comparable> TreeMultiset<E> |
TreeMultiset.create(java.lang.Iterable<? extends E> elements) |
Creates an empty multiset containing the given initial elements, sorted according to the
elements' natural order.
|
static <E extends @Nullable java.lang.Object> TreeMultiset<E> |
TreeMultiset.create(java.util.Comparator<? super E> comparator) |
Creates a new, empty multiset, sorted according to the specified comparator.
|