isql.util
Class MapOfListHelp
java.lang.Object
isql.util.MapOfListHelp
public class MapOfListHelp
- extends java.lang.Object
Helper for maps of lists
A map of list is a map of type:
map>
which means a map that can have 0+ values for each key
- Author:
- SHZ Oct 17, 2007
Method Summary |
static
|
put(java.util.Map<K,java.util.List<V>> mapOfLists,
K key,
V value)
Adds a value to the map of lists |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MapOfListHelp
public MapOfListHelp()
put
public static <K,V> void put(java.util.Map<K,java.util.List<V>> mapOfLists,
K key,
V value)
- Adds a value to the map of lists
- Type Parameters:
K
- the key typeV
- the value type- Parameters:
mapOfLists
- the map of listskey
- the key to add the value forvalue
- the value to add