@Override
	public AddressSpace[] getPhysicalSpaces() {
		ArrayList<AddressSpace> physicalSpaces = new ArrayList<>();
		for (AddressSpace space : spaces) {
			if (space.isMemorySpace()) {
				physicalSpaces.add(space);
			}
		}

		AddressSpace[] ret = new AddressSpace[physicalSpaces.size()];
		physicalSpaces.toArray(ret);
		return ret;
	}
@see ghidra.program.model.address.AddressFactory#getAddress(java.lang.String)
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/model/address/DefaultAddressFactory.java