@Override
	public final boolean contains(AddressSetView addrSet) {
		if (addrSet.getNumAddressRanges() == 0) {
			return true;
		}
		if (getNumAddressRanges() == 0) {
			return false;
		}

		Address thisMinAddr = getMinAddress();
		Address thatMinAddr = addrSet.getMinAddress();
		if (thisMinAddr.compareTo(thatMinAddr) > 0) {
			return false;
		}
		Address thisMaxAddr = getMaxAddress();
		Address thatMaxAddr = addrSet.getMaxAddress();
		if (thisMaxAddr.compareTo(thatMaxAddr) < 0) {
			return false;
		}

		if (useLinearAlgorithm(addrSet)) {
			return containsLinear(addrSet);
		}
		return containsBinary(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