private final class ImmutableMap.MapViewOfValuesAsSingletonSets extends ImmutableMap.IteratorBasedImmutableMap<K,ImmutableSet<V>>
ImmutableMap.Builder<K,V>, ImmutableMap.IteratorBasedImmutableMap<K,V>, ImmutableMap.SerializedForm
EMPTY_ENTRY_ARRAY
Modifier | Constructor and Description |
---|---|
private |
MapViewOfValuesAsSingletonSets() |
Modifier and Type | Method and Description |
---|---|
boolean |
containsKey(java.lang.Object key) |
(package private) UnmodifiableIterator<java.util.Map.Entry<K,ImmutableSet<V>>> |
entryIterator() |
ImmutableSet<V> |
get(java.lang.Object key) |
int |
hashCode() |
(package private) boolean |
isHashCodeFast() |
(package private) boolean |
isPartialView() |
ImmutableSet<K> |
keySet()
Returns an immutable set of the keys in this map.
|
int |
size() |
createEntrySet
asMultimap, builder, checkNoConflict, clear, containsValue, copyOf, copyOf, createKeySet, createValues, entryOf, entrySet, equals, isEmpty, keyIterator, of, of, of, of, of, of, put, putAll, remove, toString, values, writeReplace
public int size()
public ImmutableSet<K> keySet()
ImmutableMap
keySet
in interface java.util.Map<K,ImmutableSet<V>>
keySet
in class ImmutableMap<K,ImmutableSet<V>>
public boolean containsKey(@Nullable java.lang.Object key)
containsKey
in interface java.util.Map<K,ImmutableSet<V>>
containsKey
in class ImmutableMap<K,ImmutableSet<V>>
public ImmutableSet<V> get(@Nullable java.lang.Object key)
get
in interface java.util.Map<K,ImmutableSet<V>>
get
in class ImmutableMap<K,ImmutableSet<V>>
boolean isPartialView()
isPartialView
in class ImmutableMap<K,ImmutableSet<V>>
public int hashCode()
hashCode
in interface java.util.Map<K,ImmutableSet<V>>
hashCode
in class ImmutableMap<K,ImmutableSet<V>>
boolean isHashCodeFast()
isHashCodeFast
in class ImmutableMap<K,ImmutableSet<V>>
UnmodifiableIterator<java.util.Map.Entry<K,ImmutableSet<V>>> entryIterator()
entryIterator
in class ImmutableMap.IteratorBasedImmutableMap<K,ImmutableSet<V>>