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

Packages that use OrderedMap
Package
Description
org.apache.commons.collections4
Interfaces and utilities shared across all packages.
org.apache.commons.collections4.bidimap
Implements the `BidiMap`, `OrderedBidiMap` and `SortedBidiMap` interfaces.
org.apache.commons.collections4.map
Implements the `Map`, `IterableMap`, `OrderedMap` and `SortedMap` interfaces.
org.apache.commons.collections4.trie
Implements the `Trie` interface.

- ## Uses of OrderedMap in org.apache.commons.collections4

  Subinterfaces of OrderedMap in org.apache.commons.collections4
  Modifier and Type
  Interface
  Description
  `interface`
  `IterableSortedMap<K,V>`
  `SortedMap` + `OrderedMap`.
  `interface`
  `OrderedBidiMap<K,V>`
  Defines a map that allows bidirectional lookup between key and values and retains and provides access to an ordering.
  `interface`
  `SortedBidiMap<K,V>`
  Defines a map that allows bidirectional lookup between key and values and retains both keys and values in sorted order.
  `interface`
  `Trie<K,V>`
  Defines the interface for a prefix tree, an ordered tree data structure.
  Methods in org.apache.commons.collections4 that return OrderedMap
  Modifier and Type
  Method
  Description
  `static <K, V> OrderedMap<K,V>`
  MapUtils.`orderedMap(Map<K,V> map)`
  Returns a map that maintains the order of keys that are added backed by the given map.

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

  Classes in org.apache.commons.collections4.bidimap that implement OrderedMap
  Modifier and Type
  Class
  Description
  `class`
  `AbstractOrderedBidiMapDecorator<K,V>`
  Provides a base decorator that enables additional functionality to be added to an OrderedBidiMap via decoration.
  `class`
  `AbstractSortedBidiMapDecorator<K,V>`
  Provides a base decorator that enables additional functionality to be added to a SortedBidiMap via decoration.
  `class`
  `DualTreeBidiMap<K,V>`
  Implements `BidiMap` with two `TreeMap` instances.
  `protected static class`
  `DualTreeBidiMap.ViewMap<K,V>`
  Internal sorted map view.
  `class`
  `TreeBidiMap<K extends Comparable<K>,V extends Comparable<V>>`
  Red-Black tree-based implementation of BidiMap where all objects added implement the `Comparable` interface.
  `final class`
  `UnmodifiableOrderedBidiMap<K,V>`
  Decorates another `OrderedBidiMap` to ensure it can't be altered.
  `final class`
  `UnmodifiableSortedBidiMap<K,V>`
  Decorates another `SortedBidiMap` to ensure it can't be altered.

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

  Classes in org.apache.commons.collections4.map that implement OrderedMap
  Modifier and Type
  Class
  Description
  `class`
  `AbstractLinkedMap<K,V>`
  An abstract implementation of a hash-based map that links entries to create an ordered map and which provides numerous points for subclasses to override.
  `class`
  `AbstractOrderedMapDecorator<K,V>`
  Provides a base decorator that enables additional functionality to be added to an OrderedMap via decoration.
  `class`
  `AbstractSortedMapDecorator<K,V>`
  Provides a base decorator that enables additional functionality to be added to a Map via decoration.
  `class`
  `FixedSizeSortedMap<K,V>`
  Decorates another `SortedMap` to fix the size blocking add/remove.
  `class`
  `LinkedMap<K,V>`
  A `Map` implementation that maintains the order of the entries.
  `class`
  `ListOrderedMap<K,V>`
  Decorates a `Map` to ensure that the order of addition is retained using a `List` to maintain order.
  `class`
  `LRUMap<K,V>`
  A `Map` implementation with a fixed maximum size which removes the least recently used entry if an entry is added when full.
  `class`
  `SingletonMap<K,V>`
  A `Map` implementation that holds a single item and is fixed size.
  `final class`
  `UnmodifiableOrderedMap<K,V>`
  Decorates another `OrderedMap` to ensure it can't be altered.
  `final class`
  `UnmodifiableSortedMap<K,V>`
  Decorates another `SortedMap` to ensure it can't be altered.
  Methods in org.apache.commons.collections4.map that return OrderedMap
  Modifier and Type
  Method
  Description
  `protected OrderedMap<K,V>`
  AbstractOrderedMapDecorator.`decorated()`
  Gets the map being decorated.
  `static <K, V> OrderedMap<K,V>`
  UnmodifiableOrderedMap.`unmodifiableOrderedMap(OrderedMap<? extends K,? extends V> map)`
  Factory method to create an unmodifiable sorted map.
  Methods in org.apache.commons.collections4.map with parameters of type OrderedMap
  Modifier and Type
  Method
  Description
  `static <K, V> OrderedMap<K,V>`
  UnmodifiableOrderedMap.`unmodifiableOrderedMap(OrderedMap<? extends K,? extends V> map)`
  Factory method to create an unmodifiable sorted map.
  Constructors in org.apache.commons.collections4.map with parameters of type OrderedMap
  Modifier
  Constructor
  Description
  ``
  `AbstractOrderedMapDecorator(OrderedMap<K,V> map)`
  Constructor that wraps (not copies).

- ## Uses of OrderedMap in org.apache.commons.collections4.trie

  Classes in org.apache.commons.collections4.trie that implement OrderedMap
  Modifier and Type
  Class
  Description
  `class`
  `AbstractBitwiseTrie<K,V>`
  This class provides some basic `Trie` functionality and utility methods for actual bitwise `Trie` implementations.
  `class`
  `AbstractPatriciaTrie<K,V>`
  This class implements the base PATRICIA algorithm and everything that is related to the `Map` interface.
  `class`
  `PatriciaTrie<V>`
  Implements a PATRICIA Trie (Practical Algorithm to Retrieve Information Coded in Alphanumeric).
  `class`
  `UnmodifiableTrie<K,V>`
  An unmodifiable `Trie`.