Class EnumBiMap<K extends Enum<K>,V extends Enum<V>>

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

@GwtCompatible(emulated=true) public final class EnumBiMap<K extends Enum<K>,V extends Enum<V>> extends ForwardingMap<K,V>
A BiMap backed by two EnumMap instances. Null keys and values are not permitted. An EnumBiMap and its inverse are both serializable.

See the Guava User Guide article on BiMap.

Since:
2.0
Author:
Mike Bostock
See Also: