@Override
	public long next() {
		if (hasNext()) {
			doesHaveNext = false;
            doesHavePrevious = true;
			return current;
		}

		throw new NoSuchElementException("No more indexes.");
	}
Returns the next index in the iterator.
Ghidra/Framework/Generic/src/main/java/ghidra/util/map/LongIteratorImpl.java