public AddressSet getSameMemTypeAddressesInCommon() {
        return new AddressSet(sameTypeInBoth);
    }
Returns the addresses with the same memory types in common between 
program1 and program2.
The returned address set is derived using program1.
@return the addresses in common between program1 and program2.
Ghidra/Features/Base/src/main/java/ghidra/program/util/ProgramMemoryComparator.java