Package org.testng.collections
Class MultiMap<K,V,C extends Collection<V>>
- java.lang.Object
-
- org.testng.collections.MultiMap<K,V,C>
-
- Direct Known Subclasses:
ListMultiMap
,SetMultiMap
public abstract class MultiMap<K,V,C extends Collection<V>> extends Object
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
MultiMap(boolean isSorted)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
containsKey(K k)
protected abstract C
createValue()
Set<Map.Entry<K,C>>
entrySet()
C
get(K key)
Set<Map.Entry<K,C>>
getEntrySet()
Deprecated.List<K>
getKeys()
Deprecated.int
getSize()
Deprecated.Collection<C>
getValues()
Deprecated.boolean
isEmpty()
Set<K>
keySet()
boolean
put(K key, V method)
boolean
putAll(K k, Collection<? extends V> values)
C
remove(K key)
Deprecated.boolean
remove(K key, V value)
C
removeAll(K key)
int
size()
String
toString()
Collection<C>
values()
-
-
-
Field Detail
-
m_objects
protected final Map<K,C extends Collection<V>> m_objects
-
-
Method Detail
-
createValue
protected abstract C createValue()
-
getKeys
@Deprecated public List<K> getKeys()
Deprecated.
-
containsKey
public boolean containsKey(K k)
-
isEmpty
public boolean isEmpty()
-
getSize
@Deprecated public int getSize()
Deprecated.
-
size
public int size()
-
remove
@Deprecated public C remove(K key)
Deprecated.
-
getEntrySet
@Deprecated public Set<Map.Entry<K,C>> getEntrySet()
Deprecated.
-
getValues
@Deprecated public Collection<C> getValues()
Deprecated.
-
values
public Collection<C> values()
-
putAll
public boolean putAll(K k, Collection<? extends V> values)
-
-