Package eu.bandm.tools.util.nonnull
package eu.bandm.tools.util.nonnull
Library of container classes which do not accept null values.
-
ClassDescriptionMapProxy<K,
V> Implements a map by delegation to a peer object from the Java collection library.Putting null as a value (not as a key) must also be prevented on this way: NonNullMap -> entrySet() -> NonNullMapEntrySet -> iterator() -> NonNullMapEntryIterator -> next() -> NonNullMapEntryImplements a map from an enum type to a strict range.NonNullKeyMap<K,V> NonNullKeyMap.MyProxy<K2,V2> NonNullList<T>Implements a list which is strict in all its elements.Internal proxy which inserts the checks for non-null into all state-changing methods.NonNullMap<K,V> NonNullMap.MyProxy<K2,V2> NonNullSet<E>Implementing class, NOT visible to the user.NonNullValueMap<K,V> NonNullValueMap.MyProxy<K2,V2>