Package | Description |
---|---|
org.apache.commons.collections |
This package contains the interfaces and utilities shared across all the subpackages of this component.
|
org.apache.commons.collections.bidimap |
Modifier and Type | Interface | Description |
---|---|---|
interface |
SortedBidiMap |
Defines a map that allows bidirectional lookup between key and values
and retains both keys and values in sorted order.
|
Modifier and Type | Method | Description |
---|---|---|
OrderedBidiMap |
OrderedBidiMap.inverseOrderedBidiMap() |
Gets a view of this map where the keys and values are reversed.
|
Modifier and Type | Class | Description |
---|---|---|
class |
AbstractOrderedBidiMapDecorator |
Provides a base decorator that enables additional functionality to be added
to an OrderedBidiMap via decoration.
|
class |
AbstractSortedBidiMapDecorator |
Provides a base decorator that enables additional functionality to be added
to a SortedBidiMap via decoration.
|
class |
DualTreeBidiMap |
Implementation of
BidiMap that uses two TreeMap instances. |
class |
TreeBidiMap |
Red-Black tree-based implementation of BidiMap where all objects added
implement the
Comparable interface. |
class |
UnmodifiableOrderedBidiMap |
Decorates another
OrderedBidiMap to ensure it can't be altered. |
class |
UnmodifiableSortedBidiMap |
Decorates another
SortedBidiMap to ensure it can't be altered. |
Modifier and Type | Method | Description |
---|---|---|
static OrderedBidiMap |
UnmodifiableOrderedBidiMap.decorate(OrderedBidiMap map) |
Factory method to create an unmodifiable map.
|
protected OrderedBidiMap |
AbstractOrderedBidiMapDecorator.getOrderedBidiMap() |
Gets the map being decorated.
|
OrderedBidiMap |
AbstractOrderedBidiMapDecorator.inverseOrderedBidiMap() |
|
OrderedBidiMap |
DualTreeBidiMap.inverseOrderedBidiMap() |
|
OrderedBidiMap |
TreeBidiMap.inverseOrderedBidiMap() |
Gets the inverse map for comparison.
|
OrderedBidiMap |
UnmodifiableOrderedBidiMap.inverseOrderedBidiMap() |
|
OrderedBidiMap |
UnmodifiableSortedBidiMap.inverseOrderedBidiMap() |
Modifier and Type | Method | Description |
---|---|---|
static OrderedBidiMap |
UnmodifiableOrderedBidiMap.decorate(OrderedBidiMap map) |
Factory method to create an unmodifiable map.
|
Constructor | Description |
---|---|
AbstractOrderedBidiMapDecorator(OrderedBidiMap map) |
Constructor that wraps (not copies).
|
Copyright © 2001-2017 Apache Software Foundation. All Rights Reserved.