@Override
		public final int compare(T cu1, T cu2) {
			Address min2CompatibleWith1 =
				SimpleDiffUtility.getCompatibleAddress(program2, cu2.getMinAddress(), program1);
			return cu1.getMinAddress().compareTo(min2CompatibleWith1);
		}
Abstract class for comparing two code units to determine if a particular program property
differs. It provides a default implementation of the <CODE>compare</CODE> method
which compares the code unit minimum addresses. It also implements the
<CODE>getAddressSet</CODE> method, which gets the addresses for the specified
code unit.
Any class that extends this one must implement the <CODE>isSame</CODE> method.
isSame should compare the desired property of the two code units to determine
if it is equal in each.
Ghidra/Features/Base/src/main/java/ghidra/program/util/ProgramDiff.java