@Override
	public final AddressSet intersect(AddressSetView addrSet) {
		if (addrSet == null || addrSet.isEmpty() || isEmpty()) {
			return new AddressSet();
		}
		int thisSize = getNumAddressRanges();
		int thatSize = addrSet.getNumAddressRanges();

		// if this address set has fewer ranges, swap for possible more efficient computation
		if (thisSize < thatSize) {
			return addrSet.intersect(this);
		}

		if (useLinearAlgorithm(addrSet)) {
			return intersectLinear(addrSet);
		}
		return intersectBinary(addrSet);
	}
Returns a list of the AddressRanges in this set.
@return  a list of the AddressRanges in this set.
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/model/address/AddressSet.java