Uses of Interface
org.apache.commons.collections.BidiMap
Packages that use BidiMap
Package
Description
This package contains the interfaces and utilities shared across all the subpackages of this component.
-
Uses of BidiMap in org.apache.commons.collections
Subinterfaces of BidiMap in org.apache.commons.collectionsModifier and TypeInterfaceDescriptioninterface
Defines a map that allows bidirectional lookup between key and values and retains and provides access to an ordering.interface
Defines a map that allows bidirectional lookup between key and values and retains both keys and values in sorted order.Methods in org.apache.commons.collections that return BidiMapModifier and TypeMethodDescriptionBidiMap.inverseBidiMap()
Gets a view of this map where the keys and values are reversed.OrderedBidiMap.inverseBidiMap()
Gets a view of this map where the keys and values are reversed.SortedBidiMap.inverseBidiMap()
Gets a view of this map where the keys and values are reversed. -
Uses of BidiMap in org.apache.commons.collections.bidimap
Classes in org.apache.commons.collections.bidimap that implement BidiMapModifier and TypeClassDescriptionclass
Provides a base decorator that enables additional functionality to be added to a BidiMap via decoration.class
AbstractBidiMap
implemented using two maps.class
Provides a base decorator that enables additional functionality to be added to an OrderedBidiMap via decoration.class
Provides a base decorator that enables additional functionality to be added to a SortedBidiMap via decoration.class
Implementation ofBidiMap
that uses twoHashMap
instances.class
Implementation ofBidiMap
that uses twoTreeMap
instances.class
Red-Black tree-based implementation of BidiMap where all objects added implement theComparable
interface.final class
Decorates anotherBidiMap
to ensure it can't be altered.final class
Decorates anotherOrderedBidiMap
to ensure it can't be altered.final class
Decorates anotherSortedBidiMap
to ensure it can't be altered.Fields in org.apache.commons.collections.bidimap declared as BidiMapModifier and TypeFieldDescriptionprotected BidiMap
AbstractDualBidiMap.inverseBidiMap
Inverse view of this map.Methods in org.apache.commons.collections.bidimap that return BidiMapModifier and TypeMethodDescriptionprotected abstract BidiMap
AbstractDualBidiMap.createBidiMap
(Map normalMap, Map reverseMap, BidiMap inverseMap) Creates a new instance of the subclass.protected BidiMap
DualHashBidiMap.createBidiMap
(Map normalMap, Map reverseMap, BidiMap inverseBidiMap) Creates a new instance of this object.protected BidiMap
DualTreeBidiMap.createBidiMap
(Map normalMap, Map reverseMap, BidiMap inverseMap) Creates a new instance of this object.static BidiMap
Factory method to create an unmodifiable map.protected BidiMap
AbstractBidiMapDecorator.getBidiMap()
Gets the map being decorated.AbstractBidiMapDecorator.inverseBidiMap()
AbstractDualBidiMap.inverseBidiMap()
TreeBidiMap.inverseBidiMap()
Gets the inverse map for comparison.UnmodifiableBidiMap.inverseBidiMap()
UnmodifiableOrderedBidiMap.inverseBidiMap()
UnmodifiableSortedBidiMap.inverseBidiMap()
Methods in org.apache.commons.collections.bidimap with parameters of type BidiMapModifier and TypeMethodDescriptionprotected abstract BidiMap
AbstractDualBidiMap.createBidiMap
(Map normalMap, Map reverseMap, BidiMap inverseMap) Creates a new instance of the subclass.protected BidiMap
DualHashBidiMap.createBidiMap
(Map normalMap, Map reverseMap, BidiMap inverseBidiMap) Creates a new instance of this object.protected BidiMap
DualTreeBidiMap.createBidiMap
(Map normalMap, Map reverseMap, BidiMap inverseMap) Creates a new instance of this object.static BidiMap
Factory method to create an unmodifiable map.Constructors in org.apache.commons.collections.bidimap with parameters of type BidiMapModifierConstructorDescriptionprotected
Constructor that wraps (not copies).protected
AbstractDualBidiMap
(Map normalMap, Map reverseMap, BidiMap inverseBidiMap) Constructs a map that decorates the specified maps, used by the subclasscreateBidiMap
implementation.protected
DualHashBidiMap
(Map normalMap, Map reverseMap, BidiMap inverseBidiMap) Constructs aHashBidiMap
that decorates the specified maps.protected
DualTreeBidiMap
(Map normalMap, Map reverseMap, BidiMap inverseBidiMap) Constructs aDualTreeBidiMap
that decorates the specified maps.