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.
|
(package private) static class |
TreeBidiMap.Node<K extends java.lang.Comparable<K>,V extends java.lang.Comparable<V>>
A node used to store the data.
|
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>
A restricted implementation of
Map.Entry that prevents
the Map.Entry contract from being broken. |
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.
|
private class |
AbstractInputCheckedMapDecorator.MapEntry
Implementation of a map entry that checks additions via setValue.
|
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.
|
(package private) static class |
ListOrderedMap.ListOrderedMapEntry<K,V> |
class |
SingletonMap<K,V>
A
Map implementation that holds a single item and is fixed size. |
private static class |
StaticBucketMap.Node<K,V>
The Map.Entry for the StaticBucketMap.
|
private class |
UnmodifiableEntrySet.UnmodifiableEntry
Implementation of a map entry that is unmodifiable.
|
Constructor and Description |
---|
SingletonMap(KeyValue<K,V> keyValue)
Constructor specifying the key and value as a
KeyValue . |