All Methods Static Methods Instance Methods Abstract Methods Default Methods
| Modifier and Type |
Method and Description |
static <K,V> ImmutableMap.Builder<K,V> |
builder() |
default boolean |
containsKey(K key) |
static <K,V> ImmutableMap<K,V> |
empty() |
ImmutableSet<Tuple2<K,V>> |
entries() |
static <K,V> Tuple2<K,V> |
entry(K key,
V value) |
default ImmutableMap<K,V> |
filterKeys(Matcher1<K> filter) |
default ImmutableMap<K,V> |
filterValues(Matcher1<V> filter) |
default void |
forEach(Consumer2<K,V> consumer) |
static <K,V> ImmutableMap<K,V> |
from(ImmutableSet<Tuple2<K,V>> entries) |
static <K,V> ImmutableMap<K,V> |
from(java.util.Map<K,V> map) |
static <K,V> ImmutableMap<K,V> |
from(java.util.stream.Stream<Tuple2<K,V>> entries) |
Option<V> |
get(K key) |
default V |
getOrDefault(K key,
Producer<V> supplier) |
default boolean |
isEmpty() |
ImmutableSet<K> |
keys() |
default <A,B> ImmutableMap<A,B> |
map(Function1<K,A> keyMapper,
Function1<V,B> valueMapper) |
default <A> ImmutableMap<A,V> |
mapKeys(Function1<K,A> mapper) |
default <A> ImmutableMap<K,A> |
mapValues(Function1<V,A> mapper) |
ImmutableMap<K,V> |
merge(K key,
V value,
Operator2<V> merger) |
static <K,V> ImmutableMap<K,V> |
of(Tuple2<K,V>... entries) |
ImmutableMap<K,V> |
put(K key,
V value) |
ImmutableMap<K,V> |
putAll(ImmutableSet<Tuple2<K,V>> other) |
default ImmutableMap<K,V> |
putIfAbsent(K key,
V value) |
ImmutableMap<K,V> |
remove(K key) |
int |
size() |
java.util.Map<K,V> |
toMap() |
Sequence<V> |
values() |