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 void
clear()
boolean
containsKey(K elementPath)
boolean
containsScalarValue(V value)
protected List<V>
createCollection()
protected Map<K,List<V>>
createMap()
Set<Map.Entry<K,List<V>>>
entrySet()
List<V>
get(K key)
boolean
isEmpty()
Set<K>
keySet()
void
put(K key, List<V> values)
void
putValue(K key, V value)
void
remove(K key)
void
remove(K key, V value)
void
removeValue(V value)
int
size()
String
toString()
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()
-
-