(int row, int column)
| 3329 | |
| 3330 | |
| 3331 | public double getDouble(int row, int column) { |
| 3332 | checkBounds(row, column); |
| 3333 | if (columnTypes[column] == DOUBLE) { |
| 3334 | double[] doubleData = (double[]) columns[column]; |
| 3335 | return doubleData[row]; |
| 3336 | } |
| 3337 | String str = getString(row, column); |
| 3338 | if (str == null || str.equals(missingString)) { |
| 3339 | return missingDouble; |
| 3340 | } |
| 3341 | try { |
| 3342 | return Double.parseDouble(str); |
| 3343 | } catch (NumberFormatException nfe) { |
| 3344 | return missingDouble; |
| 3345 | } |
| 3346 | } |
| 3347 | |
| 3348 | |
| 3349 | public double getDouble(int row, String columnName) { |
no test coverage detected