Package org.apache.commons.collections.bidimap
This package contains implementations of the
BidiMap
,
OrderedBidiMap
and
SortedBidiMap
interfaces.
A BidiMap is an extension to Map that allows keys and values to be looked up with equal ease.
One example usage is a system communicating to a legacy datasource that must convert codes
from the new format to the old format and vice versa.
The following implementations are provided in the package:
- DualHashBidiMap - uses two HashMaps to implement BidiMap
- DualTreeBidiMap - uses two TreeMaps to implement SortedBidiMap
- TreeBidiMap - red-black tree implementation of OrderedBidiMap
The following decorators are provided in the package:
- Unmodifiable - ensures the map cannot be altered
-
Class Summary Class Description AbstractBidiMapDecorator Deprecated. Apache Commons Collections version 3.x is being deprecated from AEMaaCS.AbstractDualBidiMap Deprecated. Apache Commons Collections version 3.x is being deprecated from AEMaaCS.AbstractOrderedBidiMapDecorator Deprecated. Apache Commons Collections version 3.x is being deprecated from AEMaaCS.AbstractSortedBidiMapDecorator Deprecated. Apache Commons Collections version 3.x is being deprecated from AEMaaCS.DualHashBidiMap Deprecated. Apache Commons Collections version 3.x is being deprecated from AEMaaCS.DualTreeBidiMap Deprecated. Apache Commons Collections version 3.x is being deprecated from AEMaaCS.TreeBidiMap Deprecated. Apache Commons Collections version 3.x is being deprecated from AEMaaCS.UnmodifiableBidiMap Deprecated. Apache Commons Collections version 3.x is being deprecated from AEMaaCS.UnmodifiableOrderedBidiMap Deprecated. Apache Commons Collections version 3.x is being deprecated from AEMaaCS.UnmodifiableSortedBidiMap Deprecated. Apache Commons Collections version 3.x is being deprecated from AEMaaCS.