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,V>
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<V,K> |
OrderedBidiMap.inverseBidiMap()
Gets a view of this map where the keys and values are reversed.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractOrderedBidiMapDecorator<K,V>
Provides a base decorator that enables additional functionality to be added
to an OrderedBidiMap via decoration.
|
class |
AbstractSortedBidiMapDecorator<K,V>
Provides a base decorator that enables additional functionality to be added
to a SortedBidiMap via decoration.
|
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. |
class |
UnmodifiableOrderedBidiMap<K,V>
Decorates another
OrderedBidiMap to ensure it can't be altered. |
class |
UnmodifiableSortedBidiMap<K,V>
Decorates another
SortedBidiMap to ensure it can't be altered. |
Modifier and Type | Method and Description |
---|---|
protected OrderedBidiMap<K,V> |
AbstractOrderedBidiMapDecorator.decorated()
Gets the map being decorated.
|
OrderedBidiMap<V,K> |
UnmodifiableOrderedBidiMap.inverseBidiMap() |
OrderedBidiMap<V,K> |
TreeBidiMap.inverseBidiMap()
Gets the inverse map for comparison.
|
OrderedBidiMap<V,K> |
AbstractOrderedBidiMapDecorator.inverseBidiMap() |
OrderedBidiMap<V,K> |
UnmodifiableOrderedBidiMap.inverseOrderedBidiMap()
Gets an unmodifiable view of this map where the keys and values are reversed.
|
OrderedBidiMap<V,K> |
DualTreeBidiMap.inverseOrderedBidiMap() |
static <K,V> OrderedBidiMap<K,V> |
UnmodifiableOrderedBidiMap.unmodifiableOrderedBidiMap(OrderedBidiMap<? extends K,? extends V> map)
Factory method to create an unmodifiable map.
|
Modifier and Type | Method and Description |
---|---|
static <K,V> OrderedBidiMap<K,V> |
UnmodifiableOrderedBidiMap.unmodifiableOrderedBidiMap(OrderedBidiMap<? extends K,? extends V> map)
Factory method to create an unmodifiable map.
|
Constructor and Description |
---|
AbstractOrderedBidiMapDecorator(OrderedBidiMap<K,V> map)
Constructor that wraps (not copies).
|
Copyright © 2001–2018 The Apache Software Foundation. All rights reserved.