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 TypeInterfaceDescriptioninterfaceDefines a map that allows bidirectional lookup between key and values and retains and provides access to an ordering.interfaceDefines 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 TypeClassDescriptionclassProvides a base decorator that enables additional functionality to be added to a BidiMap via decoration.classAbstractBidiMapimplemented using two maps.classProvides a base decorator that enables additional functionality to be added to an OrderedBidiMap via decoration.classProvides a base decorator that enables additional functionality to be added to a SortedBidiMap via decoration.classImplementation ofBidiMapthat uses twoHashMapinstances.classImplementation ofBidiMapthat uses twoTreeMapinstances.classRed-Black tree-based implementation of BidiMap where all objects added implement theComparableinterface.final classDecorates anotherBidiMapto ensure it can't be altered.final classDecorates anotherOrderedBidiMapto ensure it can't be altered.final classDecorates anotherSortedBidiMapto ensure it can't be altered.Fields in org.apache.commons.collections.bidimap declared as BidiMapModifier and TypeFieldDescriptionprotected BidiMapAbstractDualBidiMap.inverseBidiMapInverse view of this map.Methods in org.apache.commons.collections.bidimap that return BidiMapModifier and TypeMethodDescriptionprotected abstract BidiMapAbstractDualBidiMap.createBidiMap(Map normalMap, Map reverseMap, BidiMap inverseMap) Creates a new instance of the subclass.protected BidiMapDualHashBidiMap.createBidiMap(Map normalMap, Map reverseMap, BidiMap inverseBidiMap) Creates a new instance of this object.protected BidiMapDualTreeBidiMap.createBidiMap(Map normalMap, Map reverseMap, BidiMap inverseMap) Creates a new instance of this object.static BidiMapFactory method to create an unmodifiable map.protected BidiMapAbstractBidiMapDecorator.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 BidiMapAbstractDualBidiMap.createBidiMap(Map normalMap, Map reverseMap, BidiMap inverseMap) Creates a new instance of the subclass.protected BidiMapDualHashBidiMap.createBidiMap(Map normalMap, Map reverseMap, BidiMap inverseBidiMap) Creates a new instance of this object.protected BidiMapDualTreeBidiMap.createBidiMap(Map normalMap, Map reverseMap, BidiMap inverseMap) Creates a new instance of this object.static BidiMapFactory method to create an unmodifiable map.Constructors in org.apache.commons.collections.bidimap with parameters of type BidiMapModifierConstructorDescriptionprotectedConstructor that wraps (not copies).protectedAbstractDualBidiMap(Map normalMap, Map reverseMap, BidiMap inverseBidiMap) Constructs a map that decorates the specified maps, used by the subclasscreateBidiMapimplementation.protectedDualHashBidiMap(Map normalMap, Map reverseMap, BidiMap inverseBidiMap) Constructs aHashBidiMapthat decorates the specified maps.protectedDualTreeBidiMap(Map normalMap, Map reverseMap, BidiMap inverseBidiMap) Constructs aDualTreeBidiMapthat decorates the specified maps.