Package de.gematik.combine.util
Class NonNullableMap<K,V>
java.lang.Object
de.gematik.combine.util.NonNullableMap<K,V>
- All Implemented Interfaces:
Map<K,V>
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoidclear()booleancontainsKey(Object key) booleancontainsValue(Object value) entrySet()booleanisEmpty()keySet()static <K,V> NonNullableMap<K, V> nonNullableMap(Map<K, V> innerMap, Function<K, V> defaultValue) voidintsize()values()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAll
-
Method Details
-
nonNullableMap
public static <K,V> NonNullableMap<K,V> nonNullableMap(Map<K, V> innerMap, Function<K, V> defaultValue) -
get
-
size
public int size() -
isEmpty
public boolean isEmpty() -
containsKey
- Specified by:
containsKeyin interfaceMap<K,V>
-
containsValue
- Specified by:
containsValuein interfaceMap<K,V>
-
put
-
remove
-
putAll
-
clear
public void clear() -
keySet
-
values
-
entrySet
-