Class MultimapList<K,​V>

java.lang.Object
java.util.AbstractMap<K,​V>
java.util.HashMap<K,​List<V>>
com.googlecode.objectify.util.MultimapList<K,​V>
All Implemented Interfaces:
Serializable, Cloneable, Map<K,​List<V>>

public class MultimapList<K,​V>
extends HashMap<K,​List<V>>
Multimap that stores values in an ArrayList. It's not worth pulling in a guava dependency just for this one class.
Author:
Jeff Schnitzer
See Also:
Serialized Form
  • Constructor Details

    • MultimapList

      public MultimapList()
  • Method Details

    • add

      public boolean add(K key, V value)
      Adds a value to the set associated with the key.