public static <T extends Comparable<T>> int compareTo(T c1, T c2) {
		if (c1 == null) {
			return c2 == null ? 0 : 1;
		}
		else if (c2 == null) {
			return -1;
		}
		return c1.compareTo(c2);
	}
Returns whether or not the two indicated objects are equal. It allows
either or both of the specified objects to be null.

@param o1 the first object or null
@param o2 the second object or null
@return true if the objects are equal.
Ghidra/Framework/Utility/src/main/java/ghidra/util/SystemUtilities.java