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 TypeMethodDescriptionvoid
clear()
boolean
containsKey
(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, values
Methods inherited from class java.util.AbstractMap
clone, containsValue, equals, hashCode, isEmpty, put, putAll, size, toString
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods 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:
containsKey
in interfaceMap<K,
Collection<V>> - Overrides:
containsKey
in classAbstractMap<K,
Collection<V>>
-
clear
public void clear()- Specified by:
clear
in interfaceMap<K,
Collection<V>> - Overrides:
clear
in classAbstractMap<K,
Collection<V>>
-
get
- Specified by:
get
in interfaceMap<K,
Collection<V>> - Overrides:
get
in classAbstractMap<K,
Collection<V>>
-
remove
- Specified by:
remove
in interfaceMap<K,
Collection<V>> - Overrides:
remove
in classAbstractMap<K,
Collection<V>>
-
createKeySet
- Overrides:
createKeySet
in classMaps.ViewCachingAbstractMap<K,
Collection<V>>
-
createEntrySet
Set<Map.Entry<K,Collection<V>>> createEntrySet()Description copied from class:Maps.ViewCachingAbstractMap
Creates the entry set to be returned byMaps.ViewCachingAbstractMap.entrySet()
. This method is invoked at most once on a given map, at the time whenentrySet
is first called.- Specified by:
createEntrySet
in classMaps.ViewCachingAbstractMap<K,
Collection<V>>
-
createValues
Collection<Collection<V>> createValues()- Overrides:
createValues
in classMaps.ViewCachingAbstractMap<K,
Collection<V>>
-