Package io.karma.kommons.collection
Class GenericMapWrapper<K>
java.lang.Object
io.karma.kommons.collection.GenericMapWrapper<K>
- All Implemented Interfaces:
GenericMap<K>
,Map<K,
Object>
- Direct Known Subclasses:
GenericHashMap
,GenericLinkedHashMap
- Since:
- 18/06/2022
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAll
-
Constructor Details
-
GenericMapWrapper
-
-
Method Details
-
getAs
- Specified by:
getAs
in interfaceGenericMap<K>
-
removeAs
- Specified by:
removeAs
in interfaceGenericMap<K>
-
size
public int size() -
isEmpty
public boolean isEmpty() -
containsKey
- Specified by:
containsKey
in interfaceMap<K,
Object>
-
containsValue
- Specified by:
containsValue
in interfaceMap<K,
Object>
-
get
-
put
-
remove
-
putAll
-
clear
public void clear() -
keySet
-
values
-
entrySet
-