public class LazyHashMap<K,V>
extends java.util.HashMap<K,V>
implements java.util.Map<K,V>
null values.| Modifier and Type | Class and Description |
|---|---|
static class |
LazyHashMap.LazyValue<K,V> |
| Modifier and Type | Field and Description |
|---|---|
private java.util.Map<K,java.util.concurrent.Callable<V>> |
lazyValuesMap |
| Constructor and Description |
|---|
LazyHashMap(java.util.Collection<LazyHashMap.LazyValue<K,V>> lazyValues)
This map behaves like a normal HashMap, expect for the entries passed in as lazy values.
|
| Modifier and Type | Method and Description |
|---|---|
V |
get(java.lang.Object key) |
V |
put(K key,
V value) |
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, getOrDefault, isEmpty, keySet, merge, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, valuespublic LazyHashMap(java.util.Collection<LazyHashMap.LazyValue<K,V>> lazyValues)
lazyValues -