Package eu.bandm.tools.util.nonnull
Class NonNullProxy<K2,V2>
java.lang.Object
eu.bandm.tools.util.nonnull.MapProxy<K2,V2>
eu.bandm.tools.util.nonnull.NonNullProxy<K2,V2>
- Type Parameters:
K2- the type of the keysV2- the type of the values
- All Implemented Interfaces:
Nullfree,NonNullKeyMap<K2,,V2> NonNullMap<K2,,V2> NonNullValueMap<K2,,V2> Serializable,Map<K2,V2>
Internal proxy which inserts the checks for non-null into
all state-changing methods. Not directly accessible by the user.
-
Nested Class Summary
Nested classes/interfaces inherited from class eu.bandm.tools.util.nonnull.MapProxy
MapProxy.NonNullMapEntry<A,B>, MapProxy.NonNullMapEntryIterator<A, B>, MapProxy.NonNullMapEntrySet<A, B> -
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class eu.bandm.tools.util.nonnull.MapProxy
asSorted, clear, containsKey, containsValue, equals, get, hashCode, isEmpty, keySet, remove, size, toString, valuesMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Map
clear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, putIfAbsent, remove, remove, replace, replace, replaceAll, size, valuesMethods inherited from interface eu.bandm.tools.util.nonnull.NonNullMap
asSorted
-
Constructor Details
-
NonNullProxy
Not directly accessible by the user.- Parameters:
peer- The object from JDK runtime which makes the real work.
-
-
Method Details