Package | Description |
---|---|
com.google.common.collect |
This package contains generic collection interfaces and implementations, and other utilities for
working with collections.
|
com.google.common.testing |
This package contains testing utilities.
|
Modifier and Type | Field and Description |
---|---|
private HashBiMap<K,V> |
HashBiMap.InverseSerializedForm.bimap |
Modifier and Type | Method and Description |
---|---|
static <K,V> HashBiMap<K,V> |
HashBiMap.create()
Returns a new, empty
HashBiMap with the default initial capacity (16). |
static <K,V> HashBiMap<K,V> |
HashBiMap.create(int expectedSize)
Constructs a new, empty bimap with the specified expected size.
|
static <K,V> HashBiMap<K,V> |
HashBiMap.create(java.util.Map<? extends K,? extends V> map)
Constructs a new bimap containing initial values from
map . |
Constructor and Description |
---|
InverseSerializedForm(HashBiMap<K,V> bimap) |
Modifier and Type | Method and Description |
---|---|
(package private) static <K,V> HashBiMap<K,V> |
FreshValueGenerator.generateHashBiMap(K key,
V value) |