Uses of Interface
org.apache.commons.collections4.BidiMap
Packages that use BidiMap
Package
Description
Interfaces and utilities shared across all packages.
-
Uses of BidiMap in org.apache.commons.collections4
Subinterfaces of BidiMap in org.apache.commons.collections4Modifier and TypeInterfaceDescriptioninterfaceOrderedBidiMap<K,V> Defines a map that allows bidirectional lookup between key and values and retains and provides access to an ordering.interfaceSortedBidiMap<K,V> 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.collections4 that return BidiMapModifier and TypeMethodDescriptionBidiMap.inverseBidiMap()Gets a view of this map where the keys and values are reversed. -
Uses of BidiMap in org.apache.commons.collections4.bidimap
Classes in org.apache.commons.collections4.bidimap that implement BidiMapModifier and TypeClassDescriptionclassProvides a base decorator that enables additional functionality to be added to a BidiMap via decoration.classAbstractDualBidiMap<K,V> AbstractBidiMapimplemented 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.classDualHashBidiMap<K,V> classImplementsBidiMapwith twoLinkedHashMapinstances.classDualTreeBidiMap<K,V> classTreeBidiMap<K extends Comparable<K>,V extends Comparable<V>> Red-Black tree-based implementation of BidiMap where all objects added implement theComparableinterface.final classUnmodifiableBidiMap<K,V> Decorates 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.Methods in org.apache.commons.collections4.bidimap that return BidiMapModifier and TypeMethodDescriptionCreates a new instance of the subclass.Creates a new instance of this object.DualLinkedHashBidiMap.createBidiMap(Map<V, K> normalMap, Map<K, V> reverseMap, BidiMap<K, V> inverseBidiMap) Creates a new instance of this object.AbstractBidiMapDecorator.decorated()Gets the map being decorated.AbstractBidiMapDecorator.inverseBidiMap()AbstractDualBidiMap.inverseBidiMap()UnmodifiableBidiMap.inverseBidiMap()static <K,V> BidiMap <K, V> UnmodifiableBidiMap.unmodifiableBidiMap(BidiMap<? extends K, ? extends V> map) Factory method to create an unmodifiable map.Methods in org.apache.commons.collections4.bidimap with parameters of type BidiMapModifier and TypeMethodDescriptionCreates a new instance of the subclass.Creates a new instance of this object.DualLinkedHashBidiMap.createBidiMap(Map<V, K> normalMap, Map<K, V> reverseMap, BidiMap<K, V> inverseBidiMap) Creates a new instance of this object.protected DualTreeBidiMap<V, K> Creates a new instance of this object.static <K,V> BidiMap <K, V> UnmodifiableBidiMap.unmodifiableBidiMap(BidiMap<? extends K, ? extends V> map) Factory method to create an unmodifiable map.Constructors in org.apache.commons.collections4.bidimap with parameters of type BidiMapModifierConstructorDescriptionprotectedAbstractBidiMapDecorator(BidiMap<K, V> map) Constructor that wraps (not copies).protectedConstructs a map that decorates the specified maps, used by the subclasscreateBidiMapimplementation.protectedConstructs aHashBidiMapthat decorates the specified maps.protectedConstructs aLinkedHashBidiMapthat decorates the specified maps.protectedConstructs aDualTreeBidiMapthat decorates the specified maps.