if (res.length() > 0) {
if (dataClass == Boolean.class)  {  result = res.equals("*"); } else if (res.length() > 0) {
    public Object getValueAt(int rowIndex, int columnIndex) {        Class <?>dataClass = getColumnClass(columnIndex);        //System.out.println("getValue: " + rowIndex + "," + columnIndex);                if (dataClass == String.class) { // shortcut for String -> non-"cached"            /* String res = getStringAt(rowIndex, columnIndex).trim();            if (res.length() == 0)                return null;            else                return res; */            return getStringAt(rowIndex, columnIndex);        } else {                            Long key = getCacheKey(rowIndex, columnIndex);                        Object result = dataCache.get(key);            if ((result != null) || dataCache.containsKey(key))                return result; // value is cached -> return it                        String res = getStringAt(rowIndex, columnIndex).trim();            if (res.length() > 0) {                //System.out.println("Parse: " + res);                try {                    if (dataClass == Integer.class)                        result = Integer.valueOf(res);                    else if (dataClass == Float.class)                        result = Float.valueOf(res);                    else if (dataClass == Double.class)                        result = Double.valueOf(res);                    else if (dataClass == Boolean.class) // "*" if true, " " otherwise                        result = (res.trim().length() > 0);                    else if (dataClass == Date.class)                        result = columns.get(columnIndex).dateFormat.fmtIn.parse(res);                    else                        result = res;                } catch (NumberFormatException e) {                    // If not parseable, return NaN                    System.err.println("Not a number: " + res);                    //result = Float.NaN;                    result = null;                } catch (ParseException e) {                    System.err.println("Not a parseable date: " + res);                    result = null;                }                } else                result = null;            dataCache.put(key, result);            return result;        }    }