Package com.google.common.collect
Class FilteredEntryMultimap.AsMap
java.lang.Object
java.util.AbstractMap<K,Collection<V>>
com.google.common.collect.Maps.ViewCachingAbstractMap<K,Collection<V>>
com.google.common.collect.FilteredEntryMultimap.AsMap
- All Implemented Interfaces:
Map<K,Collection<V>>
- Enclosing class:
FilteredEntryMultimap<K,V>
-
Nested Class Summary
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K, V> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()booleancontainsKey(Object key) (package private) Set<Map.Entry<K, Collection<V>>> Creates the entry set to be returned byMaps.ViewCachingAbstractMap.entrySet().(package private) Collection<Collection<V>> Methods inherited from class com.google.common.collect.Maps.ViewCachingAbstractMap
entrySet, keySet, valuesMethods inherited from class java.util.AbstractMap
clone, containsValue, equals, hashCode, isEmpty, put, putAll, size, toStringMethods 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
-
Constructor Details
-
AsMap
AsMap()
-
-
Method Details
-
containsKey
- Specified by:
containsKeyin interfaceMap<K,Collection<V>> - Overrides:
containsKeyin classAbstractMap<K,Collection<V>>
-
clear
public void clear()- Specified by:
clearin interfaceMap<K,Collection<V>> - Overrides:
clearin classAbstractMap<K,Collection<V>>
-
get
- Specified by:
getin interfaceMap<K,Collection<V>> - Overrides:
getin classAbstractMap<K,Collection<V>>
-
remove
- Specified by:
removein interfaceMap<K,Collection<V>> - Overrides:
removein classAbstractMap<K,Collection<V>>
-
createKeySet
- Overrides:
createKeySetin classMaps.ViewCachingAbstractMap<K,Collection<V>>
-
createEntrySet
Set<Map.Entry<K,Collection<V>>> createEntrySet()Description copied from class:Maps.ViewCachingAbstractMapCreates the entry set to be returned byMaps.ViewCachingAbstractMap.entrySet(). This method is invoked at most once on a given map, at the time whenentrySetis first called.- Specified by:
createEntrySetin classMaps.ViewCachingAbstractMap<K,Collection<V>>
-
createValues
Collection<Collection<V>> createValues()- Overrides:
createValuesin classMaps.ViewCachingAbstractMap<K,Collection<V>>
-