Serializable
, Cloneable
, Map<K,V>
public class LazyHashMap<K,V> extends HashMap<K,V> implements Map<K,V>
null
values.Modifier and Type | Class | Description |
---|---|---|
static class |
LazyHashMap.LazyValue<K,V> |
AbstractMap.SimpleEntry<K extends Object,V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object,V extends Object>
Constructor | 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 | Description |
---|---|---|
V |
get(Object key) |
|
V |
put(K key,
V value) |
equals, hashCode, toString
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, getOrDefault, isEmpty, keySet, merge, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
clear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, getOrDefault, hashCode, isEmpty, keySet, merge, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
public LazyHashMap(Collection<LazyHashMap.LazyValue<K,V>> lazyValues)
lazyValues
- Copyright © 2018. All rights reserved.