public Set<Function> getFunctionsContainedInBothSets(Set<Function> set1, Set<Function> set2) {
		Set<Function> commonFunctions =
			set1.stream().distinct().filter(set2::contains).collect(Collectors.toSet());

		return commonFunctions;

	}
Method to retrieve a set of functions contained in both of the given sets of functions
@param set1 the first set of functions
@param set2 the second set of functions
@return a set of functions contained in both of the given sets of functions
Ghidra/Features/Decompiler/ghidra_scripts/classrecovery/RecoveredClassHelper.java