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 interface
OrderedBidiMap<K,V>
Defines a map that allows bidirectional lookup between key and values and retains and provides access to an ordering.interface
SortedBidiMap<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 class
AbstractDualBidiMap<K,V>
AbstractBidiMap
implemented using two maps.class
DualHashBidiMap<K,V>
Implementation ofBidiMap
that uses twoHashMap
instances.class
DualTreeBidiMap<K,V>
Implementation ofBidiMap
that uses twoTreeMap
instances.class
TreeBidiMap<K extends java.lang.Comparable<K>,V extends java.lang.Comparable<V>>
Red-Black tree-based implementation of BidiMap where all objects added implement theComparable
interface.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 subclasscreateBidiMap
implementation.DualHashBidiMap(java.util.Map<K,V> normalMap, java.util.Map<V,K> reverseMap, BidiMap<V,K> inverseBidiMap)
Constructs aHashBidiMap
that decorates the specified maps.DualTreeBidiMap(java.util.Map<K,V> normalMap, java.util.Map<V,K> reverseMap, BidiMap<V,K> inverseBidiMap)
Constructs aDualTreeBidiMap
that decorates the specified maps.
-