public abstract class AbstractMonotonicMultiMap<K,V> extends Object implements Collection<Map.Entry<K,V>>
Constructor and Description |
---|
AbstractMonotonicMultiMap(Map<K,Set<V>> map) |
Modifier and Type | Method and Description |
---|---|
boolean |
add(Map.Entry<K,V> e) |
boolean |
addAll(Collection<? extends Map.Entry<K,V>> c) |
void |
clear() |
boolean |
contains(K key,
V v) |
boolean |
contains(Object o) |
boolean |
containsAll(Collection<?> c) |
boolean |
containsKey(K k) |
Set<V> |
getValuesForKey(K key) |
boolean |
isEmpty() |
Iterator<Map.Entry<K,V>> |
iterator() |
Set<K> |
keySet() |
void |
put(K key,
V v) |
boolean |
remove(Object o) |
boolean |
removeAll(Collection<?> c) |
boolean |
retainAll(Collection<?> c) |
int |
size() |
Map.Entry<K,V>[] |
toArray() |
<T> T[] |
toArray(T[] a) |
Set<V> |
values() |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
equals, hashCode
public AbstractMonotonicMultiMap(Map<K,Set<V>> map)
public Set<V> getValuesForKey(K key)
public boolean addAll(Collection<? extends Map.Entry<K,V>> c)
addAll
in interface Collection<Map.Entry<K,V>>
public boolean contains(Object o)
contains
in interface Collection<Map.Entry<K,V>>
public boolean containsAll(Collection<?> c)
containsAll
in interface Collection<Map.Entry<K,V>>
public boolean removeAll(Collection<?> c)
removeAll
in interface Collection<Map.Entry<K,V>>
public boolean retainAll(Collection<?> c)
retainAll
in interface Collection<Map.Entry<K,V>>
public Map.Entry<K,V>[] toArray()
toArray
in interface Collection<Map.Entry<K,V>>
public boolean containsKey(K k)
Copyright © 2016 The Apache Software Foundation. All rights reserved.