public char getAndIncrement() {
		try {
			return string.charAt(index++);
		}
		catch (IndexOutOfBoundsException e) {
			index = string.length();
			return DONE;
		}
	}
Returns the character at the current index and then increments the index by one.  
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