public abstract class MultiMap<K,V>
extends java.lang.Object
implements java.util.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(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() |
public abstract int getDelegateCount()
public V remove(java.lang.Object key)
public boolean containsKey(java.lang.Object key)
public boolean containsValue(java.lang.Object value)
public V get(java.lang.Object key)
public boolean isEmpty()
protected boolean containsKey(java.lang.Object key, int delegateCount)
Copyright (c) 2004-2019 Eike Stepper (Loehne, Germany) and others.
All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html