(int row, int column)
| 3388 | |
| 3389 | |
| 3390 | public double getDouble(int row, int column) { |
| 3391 | checkBounds(row, column); |
| 3392 | if (columnTypes[column] == DOUBLE) { |
| 3393 | double[] doubleData = (double[]) columns[column]; |
| 3394 | return doubleData[row]; |
| 3395 | } |
| 3396 | String str = getString(row, column); |
| 3397 | if (str == null || str.equals(missingString)) { |
| 3398 | return missingDouble; |
| 3399 | } |
| 3400 | try { |
| 3401 | return Double.parseDouble(str); |
| 3402 | } catch (NumberFormatException nfe) { |
| 3403 | return missingDouble; |
| 3404 | } |
| 3405 | } |
| 3406 | |
| 3407 | |
| 3408 | public double getDouble(int row, String columnName) { |
no test coverage detected