| 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 |
| Modifier and Type | Interface and Description |
|---|---|
interface |
SortedBidiMap<K
Defines a map that allows bidirectional lookup between key and values and retains both keys and values in sorted order.
|
| Modifier and Type | Method and Description |
|---|---|
OrderedBidiMap |
OrderedBidiMap.inverseBidiMap()
Gets a view of this map where the keys and values are reversed.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractOrderedBidiMapDecorator<K
Provides a base decorator that enables additional functionality to be added to an OrderedBidiMap via decoration.
|
class |
AbstractSortedBidiMapDecorator<K
Provides a base decorator that enables additional functionality to be added to a SortedBidiMap via decoration.
|
class |
DualTreeBidiMap<K
|
class |
TreeBidiMap<K extends Comparable
Red-Black tree-based implementation of BidiMap where all objects added implement the
Comparable interface.
|
class |
UnmodifiableOrderedBidiMap<K
Decorates another
OrderedBidiMap to ensure it can't be altered.
|
class |
UnmodifiableSortedBidiMap<K
Decorates another
SortedBidiMap to ensure it can't be altered.
|
| Modifier and Type | Method and Description |
|---|---|
protected OrderedBidiMap |
AbstractOrderedBidiMapDecorator.decorated()
Gets the map being decorated.
|
OrderedBidiMap |
UnmodifiableOrderedBidiMap.inverseBidiMap()
|
OrderedBidiMap |
AbstractOrderedBidiMapDecorator.inverseBidiMap()
|
OrderedBidiMap |
TreeBidiMap.inverseBidiMap()
Gets the inverse map for comparison.
|
OrderedBidiMap |
UnmodifiableOrderedBidiMap.inverseOrderedBidiMap()
Gets an unmodifiable view of this map where the keys and values are reversed.
|
OrderedBidiMap |
DualTreeBidiMap.inverseOrderedBidiMap()
|
static <K |
UnmodifiableOrderedBidiMap.unmodifiableOrderedBidiMap(OrderedBidiMap
Factory method to create an unmodifiable map.
|
| Modifier and Type | Method and Description |
|---|---|
static <K |
UnmodifiableOrderedBidiMap.unmodifiableOrderedBidiMap(OrderedBidiMap
Factory method to create an unmodifiable map.
|
| Constructor and Description | |
|---|---|
AbstractOrderedBidiMapDecorator(OrderedBidiMap
Constructor that wraps (not copies).
|