Google Guavacom.google.common.collect Interface BiMap<K,V>All Superinterfaces: Map<K,V> All Known Implementing Classes: EnumBiMap, EnumHashBiMap, HashBiMap, ImmutableBiMap @GwtCompatible public interface BiMap<K,V> extends Map<K,V> A bimap (or "bidirectional map") is a map that preserves the uniqueness of its values as well as that of its keys. This constraint enables bimaps to support an "inverse view", which is another bimap containing the same entries as this bimap but with reversed keys and values.
Interface BiMap<K,V>All Superinterfaces:
Map<K,V>
All Known Implementing Classes:
EnumBiMap, EnumHashBiMap, HashBiMap, ImmutableBiMap
@GwtCompatible
public interface BiMap<K,V>
extends Map<K,V>
A bimap (or "bidirectional map") is a map that preserves the uniqueness of its values as well as that of its keys. This constraint enables bimaps to support an "inverse view", which is another bimap containing the same entries as this bimap but with reversed keys and values.
LS好东西啊~~