org.testng.collections
Class SetMultiMap<K,V>
java.lang.Object
org.testng.collections.SetMultiMap<K,V>
public class SetMultiMap<K,V>
- extends Object
A container to hold sets indexed by a key.
SetMultiMap
public SetMultiMap()
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.