Uses of Interface
org.apache.commons.collections4.BidiMap
-
Packages that use BidiMap Package Description org.apache.commons.collections4 This package contains the interfaces and utilities shared across all the subpackages of this component.org.apache.commons.collections4.bidimap -
-
Uses of BidiMap in org.apache.commons.collections4
Subinterfaces of BidiMap in org.apache.commons.collections4 Modifier and Type Interface Description interfaceOrderedBidiMap<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 BidiMap Modifier and Type Method Description BidiMap<V,K>BidiMap. 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 BidiMap Modifier and Type Class Description classAbstractBidiMapDecorator<K,V>Provides a base decorator that enables additional functionality to be added to a BidiMap via decoration.classAbstractDualBidiMap<K,V>AbstractBidiMapimplemented using two maps.classAbstractOrderedBidiMapDecorator<K,V>Provides a base decorator that enables additional functionality to be added to an OrderedBidiMap via decoration.classAbstractSortedBidiMapDecorator<K,V>Provides a base decorator that enables additional functionality to be added to a SortedBidiMap via decoration.classDualHashBidiMap<K,V>Implementation ofBidiMapthat uses twoHashMapinstances.classDualLinkedHashBidiMap<K,V>Implementation ofBidiMapthat uses twoLinkedHashMapinstances.classDualTreeBidiMap<K,V>Implementation ofBidiMapthat uses twoTreeMapinstances.classTreeBidiMap<K extends java.lang.Comparable<K>,V extends java.lang.Comparable<V>>Red-Black tree-based implementation of BidiMap where all objects added implement theComparableinterface.classUnmodifiableBidiMap<K,V>Decorates anotherBidiMapto ensure it can't be altered.classUnmodifiableOrderedBidiMap<K,V>Decorates anotherOrderedBidiMapto ensure it can't be altered.classUnmodifiableSortedBidiMap<K,V>Decorates anotherSortedBidiMapto ensure it can't be altered.Methods in org.apache.commons.collections4.bidimap that return BidiMap Modifier and Type Method Description protected abstract BidiMap<V,K>AbstractDualBidiMap. createBidiMap(java.util.Map<V,K> normalMap, java.util.Map<K,V> reverseMap, BidiMap<K,V> inverseMap)Creates a new instance of the subclass.protected BidiMap<V,K>DualHashBidiMap. createBidiMap(java.util.Map<V,K> normalMap, java.util.Map<K,V> reverseMap, BidiMap<K,V> inverseBidiMap)Creates a new instance of this object.protected BidiMap<V,K>DualLinkedHashBidiMap. createBidiMap(java.util.Map<V,K> normalMap, java.util.Map<K,V> reverseMap, BidiMap<K,V> inverseBidiMap)Creates a new instance of this object.protected BidiMap<K,V>AbstractBidiMapDecorator. decorated()Gets the map being decorated.BidiMap<V,K>AbstractBidiMapDecorator. inverseBidiMap()BidiMap<V,K>AbstractDualBidiMap. inverseBidiMap()BidiMap<V,K>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 BidiMap Modifier and Type Method Description protected abstract BidiMap<V,K>AbstractDualBidiMap. createBidiMap(java.util.Map<V,K> normalMap, java.util.Map<K,V> reverseMap, BidiMap<K,V> inverseMap)Creates a new instance of the subclass.protected BidiMap<V,K>DualHashBidiMap. createBidiMap(java.util.Map<V,K> normalMap, java.util.Map<K,V> reverseMap, BidiMap<K,V> inverseBidiMap)Creates a new instance of this object.protected BidiMap<V,K>DualLinkedHashBidiMap. createBidiMap(java.util.Map<V,K> normalMap, java.util.Map<K,V> reverseMap, BidiMap<K,V> inverseBidiMap)Creates a new instance of this object.protected DualTreeBidiMap<V,K>DualTreeBidiMap. createBidiMap(java.util.Map<V,K> normalMap, java.util.Map<K,V> reverseMap, BidiMap<K,V> inverseMap)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 BidiMap Constructor Description AbstractBidiMapDecorator(BidiMap<K,V> map)Constructor that wraps (not copies).AbstractDualBidiMap(java.util.Map<K,V> normalMap, java.util.Map<V,K> reverseMap, BidiMap<V,K> inverseBidiMap)Constructs a map that decorates the specified maps, used by the subclasscreateBidiMapimplementation.DualHashBidiMap(java.util.Map<K,V> normalMap, java.util.Map<V,K> reverseMap, BidiMap<V,K> inverseBidiMap)Constructs aHashBidiMapthat decorates the specified maps.DualLinkedHashBidiMap(java.util.Map<K,V> normalMap, java.util.Map<V,K> reverseMap, BidiMap<V,K> inverseBidiMap)Constructs aLinkedHashBidiMapthat decorates the specified maps.DualTreeBidiMap(java.util.Map<K,V> normalMap, java.util.Map<V,K> reverseMap, BidiMap<V,K> inverseBidiMap)Constructs aDualTreeBidiMapthat decorates the specified maps.
-