@Override
		public List<KeyRange> getKeyRanges(AddressSetView set, boolean absolute, boolean create) {
			ArrayList<KeyRange> keyRangeList = new ArrayList<KeyRange>();
			if (absolute) {
				return keyRangeList;
			}
			if (set == null) {
				keyRangeList.add(new KeyRange(Long.MIN_VALUE, Long.MAX_VALUE));
			}
			else {
				AddressRangeIterator it = set.getAddressRanges();
				while (it.hasNext()) {
					AddressRange range = it.next();
					Address start = range.getMinAddress();
					Address end = range.getMaxAddress();
					keyRangeList.add(new KeyRange(factory.getIndex(start), factory.getIndex(end)));
				}
			}
			return keyRangeList;
		}
Comparator used to identify if an addr occurs before or after the 
start of a key range.
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/map/AddressMapDBAdapterNoTable.java