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 interfaceOrderedBidiMapDefines a map that allows bidirectional lookup between key and values and retains and provides access to an ordering.interfaceSortedBidiMapDefines 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 BidiMapBidiMap. inverseBidiMap()Gets a view of this map where the keys and values are reversed.BidiMapOrderedBidiMap. inverseBidiMap()Gets a view of this map where the keys and values are reversed.BidiMapSortedBidiMap. 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 classAbstractBidiMapDecoratorProvides a base decorator that enables additional functionality to be added to a BidiMap via decoration.classAbstractDualBidiMapAbstractBidiMapimplemented using two maps.classAbstractOrderedBidiMapDecoratorProvides a base decorator that enables additional functionality to be added to an OrderedBidiMap via decoration.classAbstractSortedBidiMapDecoratorProvides a base decorator that enables additional functionality to be added to a SortedBidiMap via decoration.classDualHashBidiMapImplementation ofBidiMapthat uses twoHashMapinstances.classDualTreeBidiMapImplementation ofBidiMapthat uses twoTreeMapinstances.classTreeBidiMapRed-Black tree-based implementation of BidiMap where all objects added implement theComparableinterface.classUnmodifiableBidiMapDecorates anotherBidiMapto ensure it can't be altered.classUnmodifiableOrderedBidiMapDecorates anotherOrderedBidiMapto ensure it can't be altered.classUnmodifiableSortedBidiMapDecorates anotherSortedBidiMapto ensure it can't be altered.Fields in org.apache.commons.collections.bidimap declared as BidiMap Modifier and Type Field Description protected BidiMapAbstractDualBidiMap. inverseBidiMapInverse view of this map.Methods in org.apache.commons.collections.bidimap that return BidiMap Modifier and Type Method Description protected abstract BidiMapAbstractDualBidiMap. createBidiMap(java.util.Map normalMap, java.util.Map reverseMap, BidiMap inverseMap)Creates a new instance of the subclass.protected BidiMapDualHashBidiMap. createBidiMap(java.util.Map normalMap, java.util.Map reverseMap, BidiMap inverseBidiMap)Creates a new instance of this object.protected BidiMapDualTreeBidiMap. createBidiMap(java.util.Map normalMap, java.util.Map reverseMap, BidiMap inverseMap)Creates a new instance of this object.static BidiMapUnmodifiableBidiMap. decorate(BidiMap map)Factory method to create an unmodifiable map.protected BidiMapAbstractBidiMapDecorator. getBidiMap()Gets the map being decorated.BidiMapAbstractBidiMapDecorator. inverseBidiMap()BidiMapAbstractDualBidiMap. inverseBidiMap()BidiMapTreeBidiMap. inverseBidiMap()Gets the inverse map for comparison.BidiMapUnmodifiableBidiMap. inverseBidiMap()BidiMapUnmodifiableOrderedBidiMap. inverseBidiMap()BidiMapUnmodifiableSortedBidiMap. inverseBidiMap()Methods in org.apache.commons.collections.bidimap with parameters of type BidiMap Modifier and Type Method Description protected abstract BidiMapAbstractDualBidiMap. createBidiMap(java.util.Map normalMap, java.util.Map reverseMap, BidiMap inverseMap)Creates a new instance of the subclass.protected BidiMapDualHashBidiMap. createBidiMap(java.util.Map normalMap, java.util.Map reverseMap, BidiMap inverseBidiMap)Creates a new instance of this object.protected BidiMapDualTreeBidiMap. createBidiMap(java.util.Map normalMap, java.util.Map reverseMap, BidiMap inverseMap)Creates a new instance of this object.static BidiMapUnmodifiableBidiMap. 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(java.util.Map normalMap, java.util.Map reverseMap, BidiMap inverseBidiMap)Constructs a map that decorates the specified maps, used by the subclasscreateBidiMapimplementation.DualHashBidiMap(java.util.Map normalMap, java.util.Map reverseMap, BidiMap inverseBidiMap)Constructs aHashBidiMapthat decorates the specified maps.DualTreeBidiMap(java.util.Map normalMap, java.util.Map reverseMap, BidiMap inverseBidiMap)Constructs aDualTreeBidiMapthat decorates the specified maps.
-