Elexis API documentation
Version 2.1.6 as of December 11 2011

ch.rgw.tools
Class MapOfLists<T,U>

java.lang.Object
  extended by ch.rgw.tools.MapOfLists<T,U>

public class MapOfLists<T,U>
extends java.lang.Object


Constructor Summary
MapOfLists()
           
 
Method Summary
 java.util.List<U> get(T key)
          Gets the.
 void put(T key, U val)
          Put.
 void remove(T key, U val)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MapOfLists

public MapOfLists()
Method Detail

put

public void put(T key,
                U val)
Put.

Parameters:
key - the key
val - the val

get

public java.util.List<U> get(T key)
Gets the.

Parameters:
key - the key
Returns:
a possibly empty list but never null

remove

public void remove(T key,
                   U val)

Elexis API documentation
Version 2.1.6 as of December 11 2011

Copyright 2005-2011 by Gerry Weirich, Elexis