Package | Description |
---|---|
com.google.common.collect |
This package contains generic collection interfaces and implementations, and other utilities for
working with collections.
|
Modifier and Type | Class and Description |
---|---|
(package private) static class |
AbstractBiMap.Inverse<K,V>
The inverse of any other
AbstractBiMap subclass. |
class |
EnumBiMap<K extends java.lang.Enum<K>,V extends java.lang.Enum<V>>
A
BiMap backed by two EnumMap instances. |
class |
EnumHashBiMap<K extends java.lang.Enum<K>,V>
A
BiMap backed by an EnumMap instance for keys-to-values, and a HashMap
instance for values-to-keys. |
Modifier and Type | Field and Description |
---|---|
(package private) AbstractBiMap<V,K> |
AbstractBiMap.inverse |
Modifier and Type | Method and Description |
---|---|
(package private) AbstractBiMap<V,K> |
AbstractBiMap.makeInverse(java.util.Map<V,K> backward) |
Modifier and Type | Method and Description |
---|---|
(package private) void |
AbstractBiMap.setInverse(AbstractBiMap<V,K> inverse) |
Constructor and Description |
---|
AbstractBiMap(java.util.Map<K,V> backward,
AbstractBiMap<V,K> forward)
Private constructor for inverse bimap.
|
Inverse(java.util.Map<K,V> backward,
AbstractBiMap<V,K> forward) |