Package com.yahoo.collections
Class LazyMap<K,V>
java.lang.Object
com.yahoo.collections.LazyMap<K,V>
- All Implemented Interfaces:
Map<K,
V>
- Author:
- Simon Thoresen Hult
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal void
clear()
final boolean
containsKey
(Object key) final boolean
containsValue
(Object value) entrySet()
final boolean
final V
final int
hashCode()
final boolean
isEmpty()
keySet()
static <K,
V> LazyMap<K, V> final V
final void
final V
final int
size()
final Collection<V>
values()
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
Constructor Details
-
LazyMap
public LazyMap()
-
-
Method Details
-
size
public final int size() -
isEmpty
public final boolean isEmpty() -
containsKey
- Specified by:
containsKey
in interfaceMap<K,
V>
-
containsValue
- Specified by:
containsValue
in interfaceMap<K,
V>
-
get
-
put
-
remove
-
putAll
-
clear
public final void clear() -
keySet
-
values
-
entrySet
-
hashCode
public final int hashCode() -
equals
-
newDelegate
-
newHashMap
-