@Override
	public void removeFunctions(Collection<Function> functionsToRemove) {
		int beforeSize = functions.size();
		functions.removeAll(functionsToRemove);
		int afterSize = functions.size();
		if (beforeSize != afterSize) {
			fixupActiveFunctions();
			fireModelDataChanged();
		}
	}
Basic FunctionComparisonModel where a set of functions can be compared with each other
Ghidra/Features/Base/src/main/java/ghidra/features/base/codecompare/model/AnyToAnyFunctionComparisonModel.java