Package | Description |
---|---|
org.apache.commons.collections4.map |
Modifier and Type | Class and Description |
---|---|
class |
AbstractLinkedMap<K,V>
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 |
AbstractReferenceMap<K,V>
An abstract implementation of a hash-based map that allows the entries to
be removed by the garbage collector.
|
class |
CaseInsensitiveMap<K,V>
A case-insensitive
Map . |
class |
HashedMap<K,V>
A
Map implementation that is a general purpose alternative
to HashMap . |
class |
LinkedMap<K,V>
A
Map implementation that maintains the order of the entries. |
class |
LRUMap<K,V>
A
Map implementation with a fixed maximum size which removes
the least recently used entry if an entry is added when full. |
class |
ReferenceIdentityMap<K,V>
A
Map implementation that allows mappings to be
removed by the garbage collector and matches keys and values based
on == not equals() . |
class |
ReferenceMap<K,V>
A
Map implementation that allows mappings to be
removed by the garbage collector. |
Modifier and Type | Method and Description |
---|---|
protected AbstractHashedMap<K,V> |
AbstractHashedMap.clone()
Clones the map without cloning the keys or values.
|
protected AbstractHashedMap<K,V> |
Flat3Map.createDelegateMap()
Create an instance of the map used for storage when in delegation mode.
|
protected AbstractHashedMap<MultiKey<? extends K>,V> |
MultiKeyMap.decorated()
Gets the map being decorated.
|
Modifier and Type | Method and Description |
---|---|
static <K,V> MultiKeyMap<K,V> |
MultiKeyMap.multiKeyMap(AbstractHashedMap<MultiKey<? extends K>,V> map)
Decorates the specified map to add the MultiKeyMap API and fast query.
|
Constructor and Description |
---|
EntrySet(AbstractHashedMap<K,V> parent) |
EntrySetIterator(AbstractHashedMap<K,V> parent) |
HashIterator(AbstractHashedMap<K,V> parent) |
HashMapIterator(AbstractHashedMap<K,V> parent) |
KeySet(AbstractHashedMap<K,?> parent) |
KeySetIterator(AbstractHashedMap<K,?> parent) |
MultiKeyMap(AbstractHashedMap<MultiKey<? extends K>,V> map)
Constructor that decorates the specified map and is called from
MultiKeyMap.multiKeyMap(AbstractHashedMap) . |
Values(AbstractHashedMap<?,V> parent) |
ValuesIterator(AbstractHashedMap<?,V> parent) |
Copyright © 2001–2018 The Apache Software Foundation. All rights reserved.