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, containsKey, containsValue, entrySet, isEmpty, keySet, putAll, remove, size, values
equals, hashCode, toString
public LazyHashMap(Collection<LazyHashMap.LazyValue<K,V>> lazyValues)
lazyValues
- Copyright © 2015. All rights reserved.