static <E extends @Nullable java.lang.Object> HashMultiset<E> |
HashMultiset.create() |
Creates a new, empty HashMultiset using the default initial capacity.
|
static <E extends @Nullable java.lang.Object> HashMultiset<E> |
HashMultiset.create(int distinctElements) |
Creates a new, empty HashMultiset with the specified expected number of distinct
elements.
|
static <E extends @Nullable java.lang.Object> HashMultiset<E> |
HashMultiset.create(java.lang.Iterable<? extends E> elements) |
Creates a new HashMultiset containing the specified elements.
|