Package org.apache.commons.collections4.keyvalue
package org.apache.commons.collections4.keyvalue
Implements collection and map related key/value classes.
These are usually used in maps, however they can be used as data holders in any collection.
The following key/value designs are included:
- Map Entry - various map entry implementations
- KeyValue - a key and value pair, without map entry semantics
- MultiKey - a holder of multiple keys tied together
-
ClassesClassDescriptionAbstractKeyValue<K,
V> Abstract pair class to assist with creatingKeyValueandMap.Entryimplementations.AbstractMapEntry<K,V> Abstract Pair class to assist with creating correctMap.Entryimplementations.Provides a base decorator that allows additional functionality to be added to aMap.Entry.DefaultKeyValue<K,V> A mutableKeyValuepair that does not implementMap.Entry.DefaultMapEntry<K,V> MultiKey<K>AMultiKeyallows multiple map keys to be merged together.TiedMapEntry<K,V> AMap.Entrytied to a map underneath.UnmodifiableMapEntry<K,V> AMap.Entrythat throws UnsupportedOperationException whensetValueis called.