Class AbstractMultiValuedMap.AsMap
java.lang.Object
java.util.AbstractMap<K,Collection<V>>
org.apache.commons.collections4.multimap.AbstractMultiValuedMap.AsMap
- All Implemented Interfaces:
Map<K,Collection<V>>
- Enclosing class:
AbstractMultiValuedMap<K,V>
Inner class that provides the AsMap view.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) class(package private) classEntrySet iterator for the asMap view.Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K, V> -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.util.AbstractMap
clone, containsValue, isEmpty, put, putAll, valuesMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
Field Details
-
decoratedMap
-
-
Constructor Details
-
AsMap
AsMap(Map<K, Collection<V>> map)
-
-
Method Details
-
entrySet
- Specified by:
entrySetin interfaceMap<K,Collection<V>> - Specified by:
entrySetin classAbstractMap<K,Collection<V>>
-
containsKey
- Specified by:
containsKeyin interfaceMap<K,Collection<V>> - Overrides:
containsKeyin classAbstractMap<K,Collection<V>>
-
get
- Specified by:
getin interfaceMap<K,Collection<V>> - Overrides:
getin classAbstractMap<K,Collection<V>>
-
keySet
- Specified by:
keySetin interfaceMap<K,Collection<V>> - Overrides:
keySetin classAbstractMap<K,Collection<V>>
-
size
public int size()- Specified by:
sizein interfaceMap<K,Collection<V>> - Overrides:
sizein classAbstractMap<K,Collection<V>>
-
remove
- Specified by:
removein interfaceMap<K,Collection<V>> - Overrides:
removein classAbstractMap<K,Collection<V>>
-
equals
- Specified by:
equalsin interfaceMap<K,Collection<V>> - Overrides:
equalsin classAbstractMap<K,Collection<V>>
-
hashCode
public int hashCode()- Specified by:
hashCodein interfaceMap<K,Collection<V>> - Overrides:
hashCodein classAbstractMap<K,Collection<V>>
-
toString
- Overrides:
toStringin classAbstractMap<K,Collection<V>>
-
clear
public void clear()- Specified by:
clearin interfaceMap<K,Collection<V>> - Overrides:
clearin classAbstractMap<K,Collection<V>>
-