Class MultiValueMap<K,V>
- java.lang.Object
-
- br.com.anteros.mqtt.core.util.collection.MultiValueMap<K,V>
-
-
Constructor Summary
Constructors Constructor Description MultiValueMap()MultiValueMap(Map<K,Set<V>> targetMap)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(K key, V value)voidaddAll(K key, Set<? extends V> values)voidclear()booleancontainsKey(Object o)booleancontainsValue(Object o)Set<Map.Entry<K,Set<V>>>entrySet()booleanequals(Object o)Set<V>get(Object o)inthashCode()booleanisEmpty()Set<K>keySet()Set<V>put(K k, Set<V> vs)voidputAll(Map<? extends K,? extends Set<V>> map)Set<V>remove(Object o)voidset(K key, V value)voidsetAll(Map<K,V> values)intsize()Collection<Set<V>>values()-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
-
-
Method Detail
-
containsKey
public boolean containsKey(Object o)
- Specified by:
containsKeyin interfaceMap<K,V>
-
containsValue
public boolean containsValue(Object o)
- Specified by:
containsValuein interfaceMap<K,V>
-
equals
public boolean equals(Object o)
-
-