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> HashMultiset<E> |
HashMultiset.create()
Creates a new, empty
HashMultiset using the default initial
capacity. |
static <E> HashMultiset<E> |
HashMultiset.create(int distinctElements)
Creates a new, empty
HashMultiset with the specified expected
number of distinct elements. |
static <E> HashMultiset<E> |
HashMultiset.create(Iterable<? extends E> elements)
Creates a new
HashMultiset containing the specified elements. |
Copyright © 2010-2015. All Rights Reserved.