Package jetbrains.buildServer.util
Class MultiMap<K,V>
- java.lang.Object
-
- jetbrains.buildServer.util.MultiMap<K,V>
-
public class MultiMap<K,V> extends Object
- Author:
- Dmitry Avdeev
-
-
Constructor Summary
Constructors Constructor Description MultiMap()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()booleancontainsKey(K elementPath)booleancontainsScalarValue(V value)protected List<V>createCollection()protected Map<K,List<V>>createMap()Set<Map.Entry<K,List<V>>>entrySet()List<V>get(K key)booleanisEmpty()Set<K>keySet()voidput(K key, List<V> values)voidputValue(K key, V value)voidremove(K key)voidremove(K key, V value)voidremoveValue(V value)intsize()StringtoString()Collection<List<V>>values()
-
-
-
Method Detail
-
isEmpty
public boolean isEmpty()
-
containsScalarValue
public boolean containsScalarValue(V value)
-
removeValue
public void removeValue(V value)
-
size
public int size()
-
remove
public void remove(K key)
-
containsKey
public boolean containsKey(K elementPath)
-
values
public Collection<List<V>> values()
-
clear
public void clear()
-
-