public void putAll(Map<? extends K, ? extends V> map) { for (Map.Entry<? extends K, ? extends V> entry : map.entrySet()) { Checker.checkType(entry.getKey()); Checker.checkType(entry.getValue()); this.map.put(entry.getKey(), entry.getValue()); } }
public V put(K k, V v) { Checker.checkType(k); Checker.checkType(v); return map.put(k, v); }
public boolean replace(K k, V v, V v1) { Checker.checkType(v1); return map.replace(k, v, v1); }
public V replace(K k, V v) { Checker.checkType(v); V ret = map.replace(k, v); return Checker.copyIfRequired(ret); }
public V setValue(V value) { V old = internalEntry.getValue(); Checker.checkType(value); internalEntry.setValue(value); return old; }