public String next() {
        StringBuilder token = readNextToken();
        if (token.length() == 0)
            currentToken = null;
        else
            currentToken = token.toString();
        return currentToken;
    }