Package com.google.common.collect
Class ImmutableMap.MapViewOfValuesAsSingletonSets
java.lang.Object
com.google.common.collect.ImmutableMap<K,V>
com.google.common.collect.ImmutableMap.IteratorBasedImmutableMap<K,ImmutableSet<V>>
com.google.common.collect.ImmutableMap.MapViewOfValuesAsSingletonSets
- All Implemented Interfaces:
Serializable,Map<K,ImmutableSet<V>>
- Enclosing class:
- ImmutableMap<K,
V>
private final class ImmutableMap.MapViewOfValuesAsSingletonSets
extends ImmutableMap.IteratorBasedImmutableMap<K,ImmutableSet<V>>
-
Nested Class Summary
Nested classes/interfaces inherited from class com.google.common.collect.ImmutableMap
ImmutableMap.Builder<K,V>, ImmutableMap.IteratorBasedImmutableMap<K, V>, ImmutableMap.SerializedForm<K, V> -
Field Summary
Fields inherited from class com.google.common.collect.ImmutableMap
EMPTY_ENTRY_ARRAY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsKey(Object key) (package private) ImmutableSet<K>(package private) UnmodifiableIterator<Map.Entry<K,ImmutableSet<V>>> inthashCode()(package private) boolean(package private) booleanintsize()Methods inherited from class com.google.common.collect.ImmutableMap.IteratorBasedImmutableMap
createEntrySet, createValues, entrySpliteratorMethods inherited from class com.google.common.collect.ImmutableMap
asMultimap, builder, builderWithExpectedSize, checkNoConflict, clear, compute, computeIfAbsent, computeIfPresent, conflictException, containsValue, copyOf, copyOf, entryOf, entrySet, equals, getOrDefault, isEmpty, keyIterator, keySet, keySpliterator, merge, of, of, of, of, of, of, of, of, of, of, of, ofEntries, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, toImmutableMap, toImmutableMap, toString, values, writeReplace
-
Constructor Details
-
MapViewOfValuesAsSingletonSets
private MapViewOfValuesAsSingletonSets()
-
-
Method Details
-
size
public int size() -
createKeySet
ImmutableSet<K> createKeySet()- Overrides:
createKeySetin classImmutableMap.IteratorBasedImmutableMap<K,ImmutableSet<V>>
-
containsKey
- Specified by:
containsKeyin interfaceMap<K,ImmutableSet<V>> - Overrides:
containsKeyin classImmutableMap<K,ImmutableSet<V>>
-
get
- Specified by:
getin interfaceMap<K,ImmutableSet<V>> - Specified by:
getin classImmutableMap<K,ImmutableSet<V>>
-
isPartialView
boolean isPartialView()- Specified by:
isPartialViewin classImmutableMap<K,ImmutableSet<V>>
-
hashCode
public int hashCode()- Specified by:
hashCodein interfaceMap<K,ImmutableSet<V>> - Overrides:
hashCodein classImmutableMap<K,ImmutableSet<V>>
-
isHashCodeFast
boolean isHashCodeFast()- Overrides:
isHashCodeFastin classImmutableMap<K,ImmutableSet<V>>
-
entryIterator
UnmodifiableIterator<Map.Entry<K,ImmutableSet<V>>> entryIterator()- Specified by:
entryIteratorin classImmutableMap.IteratorBasedImmutableMap<K,ImmutableSet<V>>
-