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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal voidclear()final booleancontainsKey(Object key) final booleancontainsValue(Object value) entrySet()final booleanfinal Vfinal inthashCode()final booleanisEmpty()keySet()static <K,V> LazyMap<K, V> final Vfinal voidfinal Vfinal intsize()final Collection<V>values()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods 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:
containsKeyin interfaceMap<K,V>
-
containsValue
- Specified by:
containsValuein interfaceMap<K,V>
-
get
-
put
-
remove
-
putAll
-
clear
public final void clear() -
keySet
-
values
-
entrySet
-
hashCode
public final int hashCode() -
equals
-
newDelegate
-
newHashMap
-