public static final class ImmutableMap.JavaBasedImmutableMap<K,V> extends java.lang.Object implements ImmutableMap<K,V>, java.io.Serializable
ImmutableMap.Builder<K,V>, ImmutableMap.JavaBasedImmutableMap<K,V>| Modifier and Type | Method and Description |
|---|---|
ImmutableSet<Tuple2<K,V>> |
entries() |
boolean |
equals(java.lang.Object obj) |
Option<V> |
get(K key) |
int |
hashCode() |
ImmutableSet<K> |
keys() |
ImmutableMap<K,V> |
merge(K key,
V value,
Operator2<V> merger) |
ImmutableMap<K,V> |
put(K key,
V value) |
ImmutableMap<K,V> |
putAll(ImmutableSet<Tuple2<K,V>> other) |
ImmutableMap<K,V> |
remove(K key) |
int |
size() |
java.util.Map<K,V> |
toMap() |
java.lang.String |
toString() |
Sequence<V> |
values() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitbuilder, containsKey, empty, entry, filterKeys, filterValues, forEach, from, from, from, getOrDefault, isEmpty, map, mapKeys, mapValues, of, putIfAbsentpublic int size()
size in interface ImmutableMap<K,V>public ImmutableMap<K,V> put(K key, V value)
put in interface ImmutableMap<K,V>public ImmutableMap<K,V> putAll(ImmutableSet<Tuple2<K,V>> other)
putAll in interface ImmutableMap<K,V>public ImmutableMap<K,V> remove(K key)
remove in interface ImmutableMap<K,V>public ImmutableMap<K,V> merge(K key, V value, Operator2<V> merger)
merge in interface ImmutableMap<K,V>public ImmutableSet<K> keys()
keys in interface ImmutableMap<K,V>public ImmutableSet<Tuple2<K,V>> entries()
entries in interface ImmutableMap<K,V>public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object