Class DelegatingMap<K,V>
java.lang.Object
com.c4_soft.springaddons.security.oidc.DelegatingMap<K,V>
- All Implemented Interfaces:
Map<K,V>
- Direct Known Subclasses:
UnmodifiableClaimSet
Allows to work around some JDK limitations. For instance,
Collections UnmodifiableMap can't be extended (private). With this, it is
possible to extend a Map delegating to an unmodifiable one.- Author:
- Jérôme Wacongne <ch4mp#64;c4-soft.com>
-
Nested Class Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()booleancontainsKey(Object key) booleancontainsValue(Object value) entrySet()booleanisEmpty()keySet()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
-
Constructor Details
-
DelegatingMap
-
-
Method Details
-
getDelegate
-
size
public int size() -
isEmpty
public boolean isEmpty() -
containsKey
- Specified by:
containsKeyin interfaceMap<K,V>
-
containsValue
- Specified by:
containsValuein interfaceMap<K,V>
-
get
-
put
-
remove
-
putAll
-
clear
public void clear() -
keySet
-
values
-
entrySet
-