K - key typeV - value typeprivate static class EnumerableDefaults.WrapMap<K,V> extends AbstractMap<K,V>
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Modifier and Type | Field and Description |
|---|---|
private EqualityComparer<K> |
comparer |
private Map<EnumerableDefaults.Wrapped<K>,V> |
map |
| Modifier | Constructor and Description |
|---|---|
protected |
WrapMap(Function0<Map<EnumerableDefaults.Wrapped<K>,V>> mapProvider,
EqualityComparer<K> comparer) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
boolean |
containsKey(Object key) |
Set<Map.Entry<K,V>> |
entrySet() |
V |
get(Object key) |
V |
put(K key,
V value) |
V |
remove(Object key) |
Collection<V> |
values() |
private EnumerableDefaults.Wrapped<K> |
wrap(K key) |
clone, containsValue, equals, hashCode, isEmpty, keySet, putAll, size, toStringfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllprivate final Map<EnumerableDefaults.Wrapped<K>,V> map
private final EqualityComparer<K> comparer
protected WrapMap(Function0<Map<EnumerableDefaults.Wrapped<K>,V>> mapProvider, EqualityComparer<K> comparer)
public boolean containsKey(Object key)
containsKey in interface Map<K,V>containsKey in class AbstractMap<K,V>private EnumerableDefaults.Wrapped<K> wrap(K key)
public void clear()
public Collection<V> values()
Copyright © 2012–2021 The Apache Software Foundation. All rights reserved.