private static final class ImmutableMap.MapViewOfValuesAsSingletonSets<K,V> extends ImmutableMap<K,ImmutableSet<V>>
ImmutableMap.Builder<K,V>, ImmutableMap.SerializedForm
Modifier and Type | Field and Description |
---|---|
private ImmutableMap<K,V> |
delegate |
Constructor and Description |
---|
MapViewOfValuesAsSingletonSets(ImmutableMap<K,V> delegate) |
Modifier and Type | Method and Description |
---|---|
boolean |
containsKey(java.lang.Object key) |
(package private) ImmutableSet<java.util.Map.Entry<K,ImmutableSet<V>>> |
createEntrySet() |
ImmutableSet<V> |
get(java.lang.Object key) |
(package private) boolean |
isPartialView() |
int |
size() |
asMultimap, builder, checkNoConflict, clear, containsValue, copyOf, createKeySet, entryOf, entrySet, equals, hashCode, isEmpty, keySet, of, of, of, of, of, of, put, putAll, remove, toString, values, writeReplace
private final ImmutableMap<K,V> delegate
MapViewOfValuesAsSingletonSets(ImmutableMap<K,V> delegate)
public int size()
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>>
ImmutableSet<java.util.Map.Entry<K,ImmutableSet<V>>> createEntrySet()
createEntrySet
in class ImmutableMap<K,ImmutableSet<V>>