Uses of Interface
org.apache.commons.collections.BidiMap
-
Packages that use BidiMap Package Description org.apache.commons.collections This package contains the interfaces and utilities shared across all the subpackages of this component.org.apache.commons.collections.bidimap -
-
Uses of BidiMap in org.apache.commons.collections
Subinterfaces of BidiMap in org.apache.commons.collections Modifier and Type Interface Description interface
OrderedBidiMap
Defines a map that allows bidirectional lookup between key and values and retains and provides access to an ordering.interface
SortedBidiMap
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 BidiMap Modifier and Type Method Description BidiMap
BidiMap. inverseBidiMap()
Gets a view of this map where the keys and values are reversed.BidiMap
OrderedBidiMap. inverseBidiMap()
Gets a view of this map where the keys and values are reversed.BidiMap
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 BidiMap Modifier and Type Class Description class
AbstractBidiMapDecorator
Provides a base decorator that enables additional functionality to be added to a BidiMap via decoration.class
AbstractDualBidiMap
AbstractBidiMap
implemented using two maps.class
AbstractOrderedBidiMapDecorator
Provides a base decorator that enables additional functionality to be added to an OrderedBidiMap via decoration.class
AbstractSortedBidiMapDecorator
Provides a base decorator that enables additional functionality to be added to a SortedBidiMap via decoration.class
DualHashBidiMap
Implementation ofBidiMap
that uses twoHashMap
instances.class
DualTreeBidiMap
Implementation ofBidiMap
that uses twoTreeMap
instances.class
TreeBidiMap
Red-Black tree-based implementation of BidiMap where all objects added implement theComparable
interface.class
UnmodifiableBidiMap
Decorates anotherBidiMap
to ensure it can't be altered.class
UnmodifiableOrderedBidiMap
Decorates anotherOrderedBidiMap
to ensure it can't be altered.class
UnmodifiableSortedBidiMap
Decorates anotherSortedBidiMap
to ensure it can't be altered.Fields in org.apache.commons.collections.bidimap declared as BidiMap Modifier and Type Field Description protected BidiMap
AbstractDualBidiMap. inverseBidiMap
Inverse view of this map.Methods in org.apache.commons.collections.bidimap that return BidiMap Modifier and Type Method Description protected 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
UnmodifiableBidiMap. decorate(BidiMap map)
Factory method to create an unmodifiable map.protected BidiMap
AbstractBidiMapDecorator. getBidiMap()
Gets the map being decorated.BidiMap
AbstractBidiMapDecorator. inverseBidiMap()
BidiMap
AbstractDualBidiMap. inverseBidiMap()
BidiMap
TreeBidiMap. inverseBidiMap()
Gets the inverse map for comparison.BidiMap
UnmodifiableBidiMap. inverseBidiMap()
BidiMap
UnmodifiableOrderedBidiMap. inverseBidiMap()
BidiMap
UnmodifiableSortedBidiMap. inverseBidiMap()
Methods in org.apache.commons.collections.bidimap with parameters of type BidiMap Modifier and Type Method Description protected 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
UnmodifiableBidiMap. decorate(BidiMap map)
Factory method to create an unmodifiable map.Constructors in org.apache.commons.collections.bidimap with parameters of type BidiMap Constructor Description AbstractBidiMapDecorator(BidiMap map)
Constructor that wraps (not copies).AbstractDualBidiMap(Map normalMap, Map reverseMap, BidiMap inverseBidiMap)
Constructs a map that decorates the specified maps, used by the subclasscreateBidiMap
implementation.DualHashBidiMap(Map normalMap, Map reverseMap, BidiMap inverseBidiMap)
Constructs aHashBidiMap
that decorates the specified maps.DualTreeBidiMap(Map normalMap, Map reverseMap, BidiMap inverseBidiMap)
Constructs aDualTreeBidiMap
that decorates the specified maps.
-