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> 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(Map<? extends K,? extends V> map)
Constructs a new bimap containing initial values from
map . |
Copyright © 2010–2019. All rights reserved.