void (int inputId, Value value) { ValueContainerImpl<Value> mergedSnapshot = myMergedSnapshot; if (mergedSnapshot != null) { mergedSnapshot.addValue(inputId, value); } if (myAdded == null) { myAdded = ValueContainerImpl.createNewValueContainer(); } myAdded.addValue(inputId, value); }