@Override
	public boolean hasNext() {
		if (nextEntry != null) {
			return true;
		}
		sourceManager.lock.acquire();
		try {
			boolean recIterNext = forward ? recIter.hasNext() : recIter.hasPrevious();
			if (!recIterNext) {
				return false;
			}
			DBRecord rec = forward ? recIter.next() : recIter.previous();
			nextEntry = sourceManager.getSourceMapEntry(rec);
			return true;
		}
		catch (IOException e) {
			sourceManager.dbError(e);
			return false;
		}
		finally {
			sourceManager.lock.release();
		}
	}
Constructor
@param sourceManager source manager
@param recIter record iterator
@param forward direction to iterate
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/sourcemap/SourceMapEntryIteratorDB.java