increment(key, Integer.valueOf(1));
}
public void increment(String key, Number amount) {
IncrementFieldOperation operation = new IncrementFieldOperation(amount);
Object oldValue = data.get(key);
Object newValue = operation.apply(oldValue, this, key);
data.put(key, newValue);
operations.put(key, operation);
dirtyKeys.add(key);
isDirty = true;