| 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 |
|---|---|
ImmutableBiMap |
ImmutableBiMap.Builder.build()
Returns a newly-created immutable bimap.
|
static <K |
ImmutableBiMap.copyOf(Map
Returns an immutable bimap containing the same entries as
map.
|
abstract ImmutableBiMap |
ImmutableBiMap.inverse()
Returns the inverse view of this bimap, which maps each of this bimap's values to its associated key.
|
static <K |
ImmutableBiMap.of()
Returns the empty bimap.
|
static <K |
ImmutableBiMap.of(K k1, V v1)
Returns an immutable bimap containing a single entry.
|
static <K |
ImmutableBiMap.of(K k1, V v1, K k2, V v2)
Returns an immutable map containing the given entries, in order.
|
static <K |
ImmutableBiMap.of(K k1, V v1, K k2, V v2, K k3, V v3)
Returns an immutable map containing the given entries, in order.
|
static <K |
ImmutableBiMap.of(K k1, V v1, K k2, V v2, K k3, V v3, K k4, V v4)
Returns an immutable map containing the given entries, in order.
|
static <K |
ImmutableBiMap.of(K k1, V v1, K k2, V v2, K k3, V v3, K k4, V v4, K k5, V v5)
Returns an immutable map containing the given entries, in order.
|