public class LazyHashMap<K,V> extends HashMap<K,V> implements Map<K,V>
null values.| Modifier and Type | Class and Description |
|---|---|
static class |
LazyHashMap.LazyValue<K,V> |
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
LazyHashMap(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(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, valuesequals, hashCode, toStringfinalize, getClass, notify, notifyAll, wait, wait, waitclear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, getOrDefault, hashCode, isEmpty, keySet, merge, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, valuespublic LazyHashMap(Collection<LazyHashMap.LazyValue<K,V>> lazyValues)
lazyValues - Copyright © 2006–2025 The Apache Software Foundation. All rights reserved.