@Override
		public boolean hasNext() {
			if (nextAddr != null) {
				return true;
			}
			if (it.hasNext()) {
				AddressRange range = it.next();
				if (forward) {
					nextAddr = range.getMinAddress();
					endAddr = range.getMaxAddress();
				}
				else {
					nextAddr = range.getMaxAddress();
					endAddr = range.getMinAddress();
				}
				return true;
			}
			return false;
		}
@see ghidra.program.model.address.AddressIterator#hasNext()
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/map/NormalizedAddressSet.java