public void next() {
        if (ch == END_CHAR) { //end was reached
            return;
        }
        ch = (++pos < expression.length()) ? expression.charAt(pos) : END_CHAR;
        if (stopChecker != null && stopChecker.test((char) ch)) {
            //stop parsing
            ch = END_CHAR;
        }
    }
Moves parser to next parseable char
main/src/main/java/cgeo/geocaching/utils/TextParser.java