isql.util
Class MapOfListHelp

java.lang.Object
  extended by 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

Constructor Summary
MapOfListHelp()
           
 
Method Summary
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
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MapOfListHelp

public MapOfListHelp()
Method Detail

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 type
V - the value type
Parameters:
mapOfLists - the map of lists
key - the key to add the value for
value - the value to add