Top Description Classes
[default module]

Package org.apache.commons.collections4.keyvalue


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:

Class Summary

Modifier and TypeClass and Description
public abstract class
AbstractKeyValue<
the type of keys
K
,
the type of values
V
>

Abstract pair class to assist with creating KeyValue and Map.Entry implementations.

public abstract class
AbstractMapEntry<
the type of keys
K
,
the type of mapped values
V
>

Abstract Pair class to assist with creating correct Map.Entry implementations.

public abstract class
AbstractMapEntryDecorator<
the type of keys
K
,
the type of mapped values
V
>

Provides a base decorator that allows additional functionality to be added to a Map.Entry.

public class
DefaultKeyValue<
the type of keys
K
,
the type of values
V
>

A mutable KeyValue pair that does not implement Map.Entry.

public class
DefaultMapEntry<
the type of keys
K
,
the type of mapped values
V
>

A restricted implementation of Map.Entry that prevents the Map.Entry contract from being broken.

public class
MultiKey<
the type of keys
K
>

A MultiKey allows multiple map keys to be merged together.

public class
TiedMapEntry<
the type of keys
K
,
the type of mapped values
V
>

A Map.Entry tied to a map underneath.

public class
UnmodifiableMapEntry<
the type of keys
K
,
the type of mapped values
V
>

A Map.Entry that throws UnsupportedOperationException when setValue is called.