| Modifier and Type | Class and Description |
|---|---|
| private class |
| Modifier and Type | Field and Description |
|---|---|
| private final Map | |
| private final transient ImmutableList | |
| private final Map | |
| private transient JdkBackedImmutableBiMap |
| Access | Constructor and Description |
|---|---|
| private | JdkBackedImmutableBiMap(ImmutableList<Map.
|
| Modifier and Type | Method and Description |
|---|---|
| pack-priv static <K, V> ImmutableBiMap | |
| pack-priv ImmutableSet | |
| pack-priv ImmutableSet | |
| public V | get(Object
the key whose associated value is to be returned key)Implements abstract com. Implements java. null if this map contains no mapping for the key.
|
| public ImmutableBiMap | inverse()
Implements abstract com. Implements com. |
| pack-priv boolean | |
| public int |
| backwardDelegate | back to summary |
|---|---|
| private final Map<V, K> backwardDelegate | |
| entries | back to summary |
|---|---|
| private final transient ImmutableList<Map. | |
| forwardDelegate | back to summary |
|---|---|
| private final Map<K, V> forwardDelegate | |
| inverse | back to summary |
|---|---|
| private transient JdkBackedImmutableBiMap<V, K> inverse
| |
| JdkBackedImmutableBiMap | back to summary |
|---|---|
| private JdkBackedImmutableBiMap(ImmutableList<Map. | |
| create | back to summary |
|---|---|
pack-priv static <K, V> ImmutableBiMap
| |
| createEntrySet | back to summary |
|---|---|
| pack-priv ImmutableSet Implements abstract com.
| |
| createKeySet | back to summary |
|---|---|
| pack-priv ImmutableSet Implements abstract com.
| |
| get | back to summary |
|---|---|
| public V get(Object key) Implements abstract com. Implements java. Doc from java. Returns the value to which the specified key is mapped,
or More formally, if this map contains a mapping from a key
If this map permits null values, then a return value of
| |
| inverse | back to summary |
|---|---|
| public ImmutableBiMap Implements abstract com. Implements com. Doc from com. Returns the inverse view of this bimap, which maps each of this bimap's values to its associated key. The two bimaps are backed by the same data; any changes to one will appear in the other. Note There is no guaranteed correspondence between the iteration order of a bimap and that of its inverse. The inverse of an
| |
| isPartialView | back to summary |
|---|---|
| pack-priv boolean isPartialView() Implements abstract com.
| |
| size | back to summary |
|---|---|
| public int size() Implements java. Doc from java. Returns the number of key-value mappings in this map. If the
map contains more than
| |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public Map. | get(int
index of the element to return index)Implements java. |
| pack-priv boolean | isPartialView()
Implements abstract com. true if this immutable collection's implementation contains references to
user-created objects that aren't accessible via this collection's methods.
|
| public int | size()
Implements abstract java. Implements java. |
| InverseEntries | back to summary |
|---|---|
| private InverseEntries() | |
| get | back to summary |
|---|---|
| public Map. Implements java. Doc from java. Returns the element at the specified position in this list. | |
| isPartialView | back to summary |
|---|---|
| pack-priv boolean isPartialView() Implements abstract com. Doc from com. Returns
| |
| size | back to summary |
|---|---|
| public int size() Implements abstract java. Implements java. Doc from java. Returns the number of elements in this list. If this list contains
more than
| |