static <K extends @Nullable Object,V extends @Nullable Object> HashMultimap<K,V> |
HashMultimap.create() |
Creates a new, empty HashMultimap with the default initial capacities.
|
static <K extends @Nullable Object,V extends @Nullable Object> HashMultimap<K,V> |
HashMultimap.create(int expectedKeys,
int expectedValuesPerKey) |
Constructs an empty HashMultimap with enough capacity to hold the specified numbers of
keys and values without rehashing.
|
static <K extends @Nullable Object,V extends @Nullable Object> HashMultimap<K,V> |
HashMultimap.create(Multimap<? extends K,? extends V> multimap) |
Constructs a HashMultimap with the same mappings as the specified multimap.
|