org.testng.collections
Class SetMultiMap<K,V>

java.lang.Object  extended by org.testng.collections.SetMultiMap<K,V>

public class SetMultiMap<K,V>
extends Object

A container to hold sets indexed by a key.


Constructor Summary
SetMultiMap()
           
 
Method Summary
 booleancontainsKey(K k)
           
 Set<V>get(K key)
           
 Set<Map.Entry<K,Set<V>>>getEntrySet()
           
 Set<K>getKeys()
           
 intgetSize()
           
 Collection<Set<V>>getValues()
           
 booleanisEmpty()
           
 voidput(K key, V method)
           
 voidputAll(K k, Collection<V> values)
           
 Set<V>remove(K key)
           
 StringtoString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SetMultiMap

public SetMultiMap()
Method Detail

put

public void put(K key,                V method)

get

public Set<V> get(K key)

getKeys

public Set<K> getKeys()

containsKey

public boolean containsKey(K k)

toString

public String toString()
Overrides:
toString in class Object

isEmpty

public boolean isEmpty()

getSize

public int getSize()

remove

public Set<V> remove(K key)

getEntrySet

public Set<Map.Entry<K,Set<V>>> getEntrySet()

getValues

public Collection<Set<V>> getValues()

putAll

public void putAll(K k,                   Collection<V> values)


Copyright © 2012. All Rights Reserved.


NOTHING
NOTHING
Add the Maven Dependecy to your project: maven dependecy for com.amazonaws : aws-java-sdk : 1.3.14