Package org.apache.commons.collections.keyvalue
SinceNot specified.
VersionNot specified.
AuthorNot specified.
Wiki javadoc Use textile entry format.
Add your comments here.
Classes
AbstractKeyValue Abstract pair class to assist with creating KeyValue and Map.Entry implementations.
AbstractMapEntry Abstract Pair class to assist with creating correct Map.Entry implementations.
AbstractMapEntryDecorator Provides a base decorator that allows additional functionality to be added to a Map.Entry .
DefaultKeyValue A mutable KeyValue pair that does not implement Map.Entry .
DefaultMapEntry A restricted implementation of Map.Entry that prevents the Map.Entry contract from being broken.
MultiKey A MultiKey allows multiple map keys to be merged together.
TiedMapEntry A Map.Entry tied to a map underneath.
UnmodifiableMapEntry A Map.Entry that throws UnsupportedOperationException when setValue is called.

This package contains implementations of 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