Uses of Interface
org.apache.openjpa.lib.util.collections.BidiMap
-
Packages that use BidiMap Package Description org.apache.openjpa.lib.util.collections commons-collections4 import. -
-
Uses of BidiMap in org.apache.openjpa.lib.util.collections
Subinterfaces of BidiMap in org.apache.openjpa.lib.util.collections 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.Classes in org.apache.openjpa.lib.util.collections that implement BidiMap Modifier and Type Class Description classAbstractDualBidiMap<K,V>AbstractBidiMapimplemented using two maps.classDualHashBidiMap<K,V>Implementation ofBidiMapthat uses twoHashMapinstances.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.Methods in org.apache.openjpa.lib.util.collections 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.BidiMap<V,K>AbstractDualBidiMap. inverseBidiMap()BidiMap<V,K>BidiMap. inverseBidiMap()Gets a view of this map where the keys and values are reversed.Methods in org.apache.openjpa.lib.util.collections 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 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.Constructors in org.apache.openjpa.lib.util.collections with parameters of type BidiMap Constructor Description 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.DualTreeBidiMap(java.util.Map<K,V> normalMap, java.util.Map<V,K> reverseMap, BidiMap<V,K> inverseBidiMap)Constructs aDualTreeBidiMapthat decorates the specified maps.
-