public char next() {
		try {
			return string.charAt(++index);
		}
		catch (IndexOutOfBoundsException e) {
			index = string.length();
			return DONE;
		}
	}
Increments the current index by one and returns the character
at the new index.  If the resulting index is greater or equal
to the end index, the current index is reset to the end index and
a value of DONE is returned.
@return the character at the new position or DONE
Ghidra/Features/Base/src/main/java/ghidra/app/util/demangler/CharacterIterator.java