com.notuvy.util
Class NamedListMap<T>

java.lang.Object
  extended by com.notuvy.util.NamedListMap<T>

public class NamedListMap<T>
extends Object

A map of String key to a list of T objects. When a new object is added, it is appended to the existing list. If no previous entries existed, then a new list is created for it. User: murali Date: Nov 27, 2007 Time: 1:00:04 PM


Constructor Summary
NamedListMap()
           
 
Method Summary
 NamedListMap<T> add(String pKey, T pVal)
           
 boolean contains(String pKey)
           
 List<T> get(String pKey)
           
 boolean isEmpty()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NamedListMap

public NamedListMap()
Method Detail

add

public NamedListMap<T> add(String pKey,
                           T pVal)

get

public List<T> get(String pKey)

contains

public boolean contains(String pKey)

isEmpty

public boolean isEmpty()


Copyright © 2013. All Rights Reserved.