org.stringtemplate.v4.misc
Class MultiMap<K,V>
java.lang.Object
java.util.AbstractMap<K,V>
java.util.HashMap<K,V>
java.util.LinkedHashMap<K,List<V>>
org.stringtemplate.v4.misc.MultiMap<K,V>
- All Implemented Interfaces:
- Serializable, Cloneable, Map<K,List<V>>
public class MultiMap<K,V>
- extends LinkedHashMap<K,List<V>>
A hash table that maps a key to a list of elements not just a single.
- See Also:
- Serialized Form
|
Method Summary |
void |
map(K key,
V value)
|
| Methods inherited from interface java.util.Map |
containsKey, entrySet, equals, hashCode, isEmpty, keySet, put, putAll, remove, size, values |
MultiMap
public MultiMap()
map
public void map(K key,
V value)
Copyright © 2011. All Rights Reserved.