© 2006-2007 ETH Zurich

org.ximtec.igesture.util
Class MultiValueMap<T,S>

java.lang.Object
  extended by org.ximtec.igesture.util.MultiValueMap<T,S>

public class MultiValueMap<T,S>
extends Object

Author:
Bjorn Puype, bpuype@gmail.com

Constructor Summary
MultiValueMap()
           
 
Method Summary
 void add(T key, S value)
           
 void clear()
           
 boolean containsKey(T key)
           
 List<S> getValues(T key)
           
 boolean isEmpty()
           
 Set<T> keySet()
           
 void removeKey(T key)
           
 void removeValue(T key, S value)
           
 int size()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MultiValueMap

public MultiValueMap()
Method Detail

add

public void add(T key,
                S value)

removeKey

public void removeKey(T key)

removeValue

public void removeValue(T key,
                        S value)

keySet

public Set<T> keySet()

getValues

public List<S> getValues(T key)

clear

public void clear()

isEmpty

public boolean isEmpty()

containsKey

public boolean containsKey(T key)

size

public int size()

© 2006-2007 ETH Zurich

Copyright © 2007-2010 Global Information Systems Group, ETH Zurich. All Rights Reserved.