Package | Description |
---|---|
org.apache.openjpa.lib.util.collections |
commons-collections4 import.
|
Modifier and Type | Interface and 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.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractDualBidiMap<K,V>
Abstract
BidiMap implemented using two maps. |
class |
DualHashBidiMap<K,V>
|
class |
DualTreeBidiMap<K,V>
|
class |
TreeBidiMap<K extends Comparable<K>,V extends Comparable<V>>
Red-Black tree-based implementation of BidiMap where all objects added
implement the
Comparable interface. |
Modifier and Type | Method and Description |
---|---|
protected BidiMap<V,K> |
DualHashBidiMap.createBidiMap(Map<V,K> normalMap,
Map<K,V> reverseMap,
BidiMap<K,V> inverseBidiMap)
Creates a new instance of this object.
|
protected abstract BidiMap<V,K> |
AbstractDualBidiMap.createBidiMap(Map<V,K> normalMap,
Map<K,V> reverseMap,
BidiMap<K,V> inverseMap)
Creates a new instance of the subclass.
|
BidiMap<V,K> |
AbstractDualBidiMap.inverseBidiMap() |
BidiMap<V,K> |
BidiMap.inverseBidiMap()
Gets a view of this map where the keys and values are reversed.
|
Modifier and Type | Method and Description |
---|---|
protected BidiMap<V,K> |
DualHashBidiMap.createBidiMap(Map<V,K> normalMap,
Map<K,V> reverseMap,
BidiMap<K,V> inverseBidiMap)
Creates a new instance of this object.
|
protected DualTreeBidiMap<V,K> |
DualTreeBidiMap.createBidiMap(Map<V,K> normalMap,
Map<K,V> reverseMap,
BidiMap<K,V> inverseMap)
Creates a new instance of this object.
|
protected abstract BidiMap<V,K> |
AbstractDualBidiMap.createBidiMap(Map<V,K> normalMap,
Map<K,V> reverseMap,
BidiMap<K,V> inverseMap)
Creates a new instance of the subclass.
|
Constructor and Description |
---|
AbstractDualBidiMap(Map<K,V> normalMap,
Map<V,K> reverseMap,
BidiMap<V,K> inverseBidiMap)
Constructs a map that decorates the specified maps,
used by the subclass
createBidiMap implementation. |
DualHashBidiMap(Map<K,V> normalMap,
Map<V,K> reverseMap,
BidiMap<V,K> inverseBidiMap)
Constructs a
HashBidiMap that decorates the specified maps. |
DualTreeBidiMap(Map<K,V> normalMap,
Map<V,K> reverseMap,
BidiMap<V,K> inverseBidiMap)
Constructs a
DualTreeBidiMap that decorates the specified maps. |
Copyright © 2006–2022 Apache Software Foundation. All rights reserved.