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 | |
org.apache.commons.collections.map |
Modifier and Type | Interface and Description |
---|---|
interface |
OrderedBidiMap
Defines a map that allows bidirectional lookup between key and values
and retains and provides access to an ordering.
|
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 | 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 | Class and Description |
---|---|
class |
AbstractLinkedMap
An abstract implementation of a hash-based map that links entries to create an
ordered map and which provides numerous points for subclasses to override.
|
class |
AbstractOrderedMapDecorator
Provides a base decorator that enables additional functionality to be added
to an OrderedMap via decoration.
|
class |
LinkedMap
A
Map implementation that maintains the order of the entries. |
class |
ListOrderedMap
Decorates a
Map to ensure that the order of addition is retained
using a List to maintain order. |
class |
LRUMap
A
Map implementation with a fixed maximum size which removes
the least recently used entry if an entry is added when full. |
class |
SingletonMap
A
Map implementation that holds a single item and is fixed size. |
class |
UnmodifiableOrderedMap
Decorates another
OrderedMap to ensure it can't be altered. |
Modifier and Type | Method and Description |
---|---|
static OrderedMap |
ListOrderedMap.decorate(Map map)
Factory method to create an ordered map.
|
static OrderedMap |
UnmodifiableOrderedMap.decorate(OrderedMap map)
Factory method to create an unmodifiable sorted map.
|
protected OrderedMap |
AbstractOrderedMapDecorator.getOrderedMap()
Gets the map being decorated.
|
Modifier and Type | Method and Description |
---|---|
static OrderedMap |
UnmodifiableOrderedMap.decorate(OrderedMap map)
Factory method to create an unmodifiable sorted map.
|
Constructor and Description |
---|
AbstractOrderedMapDecorator(OrderedMap map)
Constructor that wraps (not copies).
|
Copyright © 2001–2015 The Apache Software Foundation. All rights reserved.