Class NonNullValueMap.MyProxy<K2,V2>

java.lang.Object
eu.bandm.tools.util.nonnull.MapProxy<K2,V2>
eu.bandm.tools.util.nonnull.NonNullValueMap.MyProxy<K2,V2>
All Implemented Interfaces:
NonNullValueMap<K2,V2>, Serializable, Map<K2,V2>
Enclosing interface:
NonNullValueMap<K,V>

public static class NonNullValueMap.MyProxy<K2,V2> extends MapProxy<K2,V2> implements NonNullValueMap<K2,V2>
See Also:
  • Constructor Details

    • MyProxy

      MyProxy(Map<K2,V2> peer)
  • Method Details

    • put

      public V2 put(K2 k, V2 v)
      Specified by:
      put in interface Map<K2,V2>
    • putAll

      public void putAll(Map<? extends K2,? extends V2> t)
      Specified by:
      putAll in interface Map<K2,V2>
    • entrySet

      public Set<Map.Entry<K2,V2>> entrySet()
      Needs special implementation of entrySet, Iterator and Map.Entry for prohibiting "setValue(null)"!
      Specified by:
      entrySet in interface Map<K2,V2>
      Overrides:
      entrySet in class MapProxy<K2,V2>