if (index < chars.length)
char ch = 0; if (index < chars.length && ((ch = chars[index]) != 'f' && ch != 'F' && ch != 'd' && ch != 'D'))
    private double parseExponent(double value) throws NumberFormatException {        if (index >= chars.length)            return value;        switch (chars[index]) {        case 'e':        case 'E':            index++;            break;        default:            throw new NumberFormatException();        }        int exponent = parseSignedInt();        if (index < chars.length)            throw new NumberFormatException();        return value * Math.pow(10.0, exponent);    }