# Uses of Interface
org.apache.commons.collections4.KeyValue

Packages that use KeyValue
Package
Description
org.apache.commons.collections4.bidimap
Implements the `BidiMap`, `OrderedBidiMap` and `SortedBidiMap` interfaces.
org.apache.commons.collections4.keyvalue
Implements collection and map related key/value classes.
org.apache.commons.collections4.map
Implements the `Map`, `IterableMap`, `OrderedMap` and `SortedMap` interfaces.

- ## Uses of KeyValue in org.apache.commons.collections4.bidimap

  Classes in org.apache.commons.collections4.bidimap that implement KeyValue
  Modifier and Type
  Class
  Description
  `protected static class`
  `AbstractDualBidiMap.MapEntry<K,V>`
  Inner class MapEntry.

- ## Uses of KeyValue in org.apache.commons.collections4.keyvalue

  Classes in org.apache.commons.collections4.keyvalue that implement KeyValue
  Modifier and Type
  Class
  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`.
  `final 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.
  `final class`
  `UnmodifiableMapEntry<K,V>`
  A `Map.Entry` that throws UnsupportedOperationException when `setValue` is called.
  Constructors in org.apache.commons.collections4.keyvalue with parameters of type KeyValue
  Modifier
  Constructor
  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`.

- ## Uses of KeyValue in org.apache.commons.collections4.map

  Classes in org.apache.commons.collections4.map that implement KeyValue
  Modifier and Type
  Class
  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.
  Constructors in org.apache.commons.collections4.map with parameters of type KeyValue
  Modifier
  Constructor
  Description
  ``
  `SingletonMap(KeyValue<K,V> keyValue)`
  Constructor specifying the key and value as a `KeyValue`.