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 and 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 and Description |
---|---|
OrderedBidiMap |
OrderedBidiMap.inverseOrderedBidiMap()
Gets a view of this map where the keys and values are reversed.
|
Modifier and Type | Class and 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 and Description |
---|---|
static OrderedBidiMap |
UnmodifiableOrderedBidiMap.decorate(OrderedBidiMap map)
Factory method to create an unmodifiable map.
|
protected OrderedBidiMap |
AbstractOrderedBidiMapDecorator.getOrderedBidiMap()
Gets the map being decorated.
|
OrderedBidiMap |
TreeBidiMap.inverseOrderedBidiMap()
Gets the inverse map for comparison.
|
OrderedBidiMap |
DualTreeBidiMap.inverseOrderedBidiMap() |
OrderedBidiMap |
UnmodifiableSortedBidiMap.inverseOrderedBidiMap() |
OrderedBidiMap |
UnmodifiableOrderedBidiMap.inverseOrderedBidiMap() |
OrderedBidiMap |
AbstractOrderedBidiMapDecorator.inverseOrderedBidiMap() |
Modifier and Type | Method and Description |
---|---|
static OrderedBidiMap |
UnmodifiableOrderedBidiMap.decorate(OrderedBidiMap map)
Factory method to create an unmodifiable map.
|
Constructor and Description |
---|
AbstractOrderedBidiMapDecorator(OrderedBidiMap map)
Constructor that wraps (not copies).
|
Copyright © 2001–2015 The Apache Software Foundation. All rights reserved.