public abstract class MultiMap<K,V> extends Object implements Map<K,V>
Modifier and Type | Class and Description |
---|---|
static class |
MultiMap.ListBased<K,V> |
Constructor and Description |
---|
MultiMap() |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
boolean |
containsKey(Object key) |
protected boolean |
containsKey(Object key,
int delegateCount) |
boolean |
containsValue(Object value) |
protected abstract Map<K,V> |
doGetDelegate(int index) |
Set<Map.Entry<K,V>> |
entrySet() |
V |
get(Object key) |
Map<K,V> |
getDelegate(int index) |
abstract int |
getDelegateCount() |
boolean |
isEmpty() |
Set<K> |
keySet() |
V |
put(K key,
V value) |
void |
putAll(Map<? extends K,? extends V> t) |
V |
remove(Object key) |
int |
size() |
Collection<V> |
values() |
public abstract int getDelegateCount()
public boolean containsKey(Object key)
containsKey
in interface Map<K,V>
public boolean containsValue(Object value)
containsValue
in interface Map<K,V>
protected boolean containsKey(Object key, int delegateCount)
Copyright (c) 2011-2014 Eike Stepper (Berlin, Germany) and others.