public final FieldSelection findIntersection(FieldSelection selection) {
		if (selection == null || this.ranges.size() == 0 || selection.ranges.size() == 0) {
			return new FieldSelection();
		}

		// C = A - B
		// return A - C
		FieldSelection A = new FieldSelection(this);
		FieldSelection B = selection;
		FieldSelection C = new FieldSelection(this);

		C.delete(B);
		A.delete(C);
		return A;
	}
Computes the intersection of this field selection and the given field selection.
@param selection the selection to intersect with.
@return the selection
Ghidra/Framework/Docking/src/main/java/docking/widgets/fieldpanel/support/FieldSelection.java