@Override
	public AddressSet getAddressSet(Address min, Address max) {
		if (min.getAddressSpace() == max.getAddressSpace()) {
			return new AddressSet(min, max);
		}
		AddressSet set = new AddressSet();
		AddressRangeIterator it = memoryAddressSet.getAddressRanges();
		while (it.hasNext()) {
			AddressRange r = it.next();
			AddressRange result = r.intersectRange(min, max);
			if (result != null) {
				set.add(result);
			}
		}
		return set;
	}
@see ghidra.program.model.address.AddressFactory#getAddress(java.lang.String)
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/model/address/DefaultAddressFactory.java