void (Object key, Object value) { if (value == null && myAttributes != null) { myAttributes.remove(key); return; } if (myAttributes == null){ myAttributes = new HashMap<>(5); } myAttributes.put(key, value); }