Class MultiMap<K,V>
- java.lang.Object
-
- org.eclipse.net4j.util.collection.MultiMap<K,V>
-
- All Implemented Interfaces:
java.util.Map<K,V>
- Direct Known Subclasses:
MultiMap.ListBased
public abstract class MultiMap<K,V> extends java.lang.Object implements java.util.Map<K,V>
- Author:
- Eike Stepper
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
MultiMap.ListBased<K,V>
-
Constructor Summary
Constructors Constructor Description MultiMap()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description void
clear()
boolean
containsKey(java.lang.Object key)
protected boolean
containsKey(java.lang.Object key, int delegateCount)
boolean
containsValue(java.lang.Object value)
protected abstract java.util.Map<K,V>
doGetDelegate(int index)
java.util.Set<java.util.Map.Entry<K,V>>
entrySet()
V
get(java.lang.Object key)
java.util.Map<K,V>
getDelegate(int index)
abstract int
getDelegateCount()
boolean
isEmpty()
java.util.Set<K>
keySet()
V
put(K key, V value)
void
putAll(java.util.Map<? extends K,? extends V> t)
V
remove(java.lang.Object key)
int
size()
java.util.Collection<V>
values()
-
-
-
Method Detail
-
getDelegateCount
public abstract int getDelegateCount()
-
remove
public V remove(java.lang.Object key)
-
containsKey
public boolean containsKey(java.lang.Object key)
-
containsValue
public boolean containsValue(java.lang.Object value)
-
get
public V get(java.lang.Object key)
-
isEmpty
public boolean isEmpty()
-
values
public java.util.Collection<V> values()
-
containsKey
protected boolean containsKey(java.lang.Object key, int delegateCount)
-
-