@Override
	public SymbolIterator getPrimarySymbolIterator(AddressSetView set, boolean forward) {
		if (set != null && set.isEmpty()) {
			return SymbolIterator.EMPTY_ITERATOR;
		}
		try {
			RecordIterator recordIterator = adapter.getPrimarySymbols(set, forward);
			return new SymbolRecordIterator(recordIterator, true, forward);
		}
		catch (IOException e) {
			program.dbError(e);
		}
		return new SymbolRecordIterator(new EmptyRecordIterator(), true, forward);
	}
Returns the next available external symbol address

@return the address
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/symbol/SymbolManager.java