@Override
	public boolean equals(Object obj) {
		lock.acquire();
		try {
			if (obj instanceof Memory) {
				return obj == this;
			}
			if (obj instanceof AddressSetView) {
				lock.acquire();
				try {
					return allAddrSet.equals(obj);
				}
				finally {
					lock.release();
				}
			}
			return false;
		}
		finally {
			lock.release();
		}
	}
Converts the given address range back from the source range back to the mapped range. NOTE:
It is important that the specified mappedSourceRange is restricted to the mapped source area
of the specified mappedBlock.

@param mappedBlock mapped memory block
@param mappedSourceRange source range which maps into mappedBlock.
@return mapped range or null if source range not mapped to block
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/mem/MemoryMapDB.java