Package com.google.common.collect
Class FilteredEntryMultimap.AsMap
- java.lang.Object
-
- java.util.AbstractMap<K,V>
-
- com.google.common.collect.Maps.ViewCachingAbstractMap<K,java.util.Collection<V>>
-
- com.google.common.collect.FilteredEntryMultimap.AsMap
-
- All Implemented Interfaces:
java.util.Map<K,java.util.Collection<V>>
- Enclosing class:
- FilteredEntryMultimap<K,V>
class FilteredEntryMultimap.AsMap extends Maps.ViewCachingAbstractMap<K,java.util.Collection<V>>
-
-
Constructor Summary
Constructors Constructor Description AsMap()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()booleancontainsKey(java.lang.Object key)(package private) java.util.Set<java.util.Map.Entry<K,java.util.Collection<V>>>createEntrySet()Creates the entry set to be returned byMaps.ViewCachingAbstractMap.entrySet().(package private) java.util.Set<K>createKeySet()(package private) java.util.Collection<java.util.Collection<V>>createValues()java.util.Collection<V>get(java.lang.Object key)java.util.Collection<V>remove(java.lang.Object key)-
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
-
-
-
-
Method Detail
-
containsKey
public boolean containsKey(java.lang.Object key)
-
clear
public void clear()
-
get
public java.util.Collection<V> get(java.lang.Object key)
-
remove
public java.util.Collection<V> remove(java.lang.Object key)
-
createKeySet
java.util.Set<K> createKeySet()
- Overrides:
createKeySetin classMaps.ViewCachingAbstractMap<K,java.util.Collection<V>>
-
createEntrySet
java.util.Set<java.util.Map.Entry<K,java.util.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,java.util.Collection<V>>
-
createValues
java.util.Collection<java.util.Collection<V>> createValues()
- Overrides:
createValuesin classMaps.ViewCachingAbstractMap<K,java.util.Collection<V>>
-
-