void (int inputId, @NotNull InputDataDiffBuilder<Key, Value> diffBuilder) { TransientChangesIndexStorage<Key, Value> memoryIndexStorage = (TransientChangesIndexStorage<Key, Value>)getStorage(); boolean modified = false; for (Key key : ((DirectInputDataDiffBuilder<Key, Value>)diffBuilder).getKeys()) { if (memoryIndexStorage.clearMemoryMapForId(key, inputId) && !modified) { modified = true; } } if (modified) { incrementModificationStamp(); } }