org.eclipse.swtbot.swt.finder.utils
Class MultiValueMap<K,V>

java.lang.Object
  extended by org.eclipse.swtbot.swt.finder.utils.MultiValueMap<K,V>

public class MultiValueMap<K,V>
extends Object

Maps a key to a collection of values. The values are maintained in a set that gurantees order, adding the same value twice for the same key will have no effect.

Version:
$Id$
Author:
Ketan Padegaonkar <KetanPadegaonkar [at] gmail [dot] com>

Constructor Summary
MultiValueMap()
           
 
Method Summary
 Collection<V> getCollection(K k)
           
 Set<K> keySet()
           
 void put(K k, V v)
           
 
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

put

public void put(K k,
                V v)

getCollection

public Collection<V> getCollection(K k)

keySet

public Set<K> keySet()