public final void intersect(FieldSelection selection) {
		if (selection == null || this.ranges.size() == 0 || selection.ranges.size() == 0) {
			clear();
			return;
		}

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

		C.delete(B);
		A.delete(C);
	}
Compute the intersection of this field selection and another one.
The intersection of two field selections is all fields existing in
both selections.

<P>Note: This field selection becomes the intersection.

@param selection field selection to intersect.
Ghidra/Framework/Docking/src/main/java/docking/widgets/fieldpanel/support/FieldSelection.java