| Package | Description |
|---|---|
| org.apache.commons.collections4.bidimap | |
| org.apache.commons.collections4.keyvalue |
This package contains implementations of collection and map related key/value classes.
|
| org.apache.commons.collections4.map |
| Modifier and Type | Class and Description |
|---|---|
protected static class |
AbstractDualBidiMap.MapEntry<K,V>
Inner class MapEntry.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractKeyValue<K,V>
Abstract pair class to assist with creating
KeyValue
and Map.Entry implementations. |
class |
AbstractMapEntry<K,V>
Abstract Pair class to assist with creating correct
Map.Entry implementations. |
class |
AbstractMapEntryDecorator<K,V>
Provides a base decorator that allows additional functionality to be
added to a
Map.Entry. |
class |
DefaultKeyValue<K,V>
A mutable
KeyValue pair that does not implement
Map.Entry. |
class |
DefaultMapEntry<K,V>
|
class |
TiedMapEntry<K,V>
A
Map.Entry tied to a map underneath. |
class |
UnmodifiableMapEntry<K,V>
A
Map.Entry that throws
UnsupportedOperationException when setValue is called. |
| Constructor and Description |
|---|
DefaultKeyValue(KeyValue<? extends K,? extends V> pair)
Constructs a new pair from the specified
KeyValue. |
DefaultMapEntry(KeyValue<? extends K,? extends V> pair)
Constructs a new entry from the specified
KeyValue. |
UnmodifiableMapEntry(KeyValue<? extends K,? extends V> pair)
Constructs a new entry from the specified
KeyValue. |
| Modifier and Type | Class and Description |
|---|---|
protected static class |
AbstractHashedMap.HashEntry<K,V>
HashEntry used to store the data.
|
protected static class |
AbstractLinkedMap.LinkEntry<K,V>
LinkEntry that stores the data.
|
protected static class |
AbstractReferenceMap.ReferenceEntry<K,V>
A MapEntry implementation for the map.
|
class |
SingletonMap<K,V>
A
Map implementation that holds a single item and is fixed size. |
| Constructor and Description |
|---|
SingletonMap(KeyValue<K,V> keyValue)
Constructor specifying the key and value as a
KeyValue. |
Copyright © 2001–2019 The Apache Software Foundation. All rights reserved.