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 <K,V> HashMultimap<K,V> |
HashMultimap.create()
Creates a new, empty
HashMultimap with the default initial
capacities. |
static <K,V> 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,V> HashMultimap<K,V> |
HashMultimap.create(Multimap<? extends K,? extends V> multimap)
Constructs a
HashMultimap with the same mappings as the specified
multimap. |
Copyright © 2010-2015. All Rights Reserved.