Class EnumHashBiMap<K extends Enum<K>,V extends @Nullable Object>

All Implemented Interfaces:
BiMap<K,V>, Serializable, Map<K,V>

@GwtCompatible(emulated=true) public final class EnumHashBiMap<K extends Enum<K>,V extends @Nullable Object> extends ForwardingMap<K,V>
A BiMap backed by an EnumMap instance for keys-to-values, and a HashMap instance for values-to-keys. Null keys are not permitted, but null values are. An EnumHashBiMap and its inverse are both serializable.

See the Guava User Guide article on BiMap.

Since:
2.0
Author:
Mike Bostock
See Also: