for (Set<NodeKey> sourceKeys : removedWeak.values()) {
for (NodeKey key : sourceKeys) {
mutable.addWeak(key, -1);
}
}
return mutable.freeze();
}
public boolean isEmpty() {
return addedWeak.isEmpty() && removedWeak.isEmpty() && addedStrong.isEmpty() && removedStrong.isEmpty();
}