org.qi4j.api.util

## Class ListMap<K,V>

- java.lang.Object
- - java.util.AbstractMap<K,V>
  - - java.util.HashMap<K,List<V>>
    - - org.qi4j.api.util.ListMap<K,V>

- All Implemented Interfaces:
    Serializable, Cloneable, Map<K,List<V>>

      public final class ListMap<K,V>
      extends HashMap<K,List<V>>

  Map whose values are Lists of things. Create one ArrayList for each key that is added. The list does not allow duplicates.
  See Also:
    Serialized Form

- - ### Nested Class Summary

    - ### Nested classes/interfaces inherited from class java.util.AbstractMap

      `AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `ListMap()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `add(K key, V value)`

    - ### Methods inherited from class java.util.HashMap

      `clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values`

    - ### Methods inherited from class java.util.AbstractMap

      `equals, hashCode, toString`

    - ### Methods inherited from class java.lang.Object

      `finalize, getClass, notify, notifyAll, wait, wait, wait`

    - ### Methods inherited from interface java.util.Map

      `equals, hashCode`

- - ### Constructor Detail

    - #### ListMap

          public ListMap()

  - ### Method Detail

    - #### add

          public void add(K key,
                 V value)