MCPcopy Index your code
hub / github.com/processing/processing / getDouble

Method getDouble

core/src/processing/data/Table.java:3331–3346  ·  view source on GitHub ↗
(int row, int column)

Source from the content-addressed store, hash-verified

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) {

Callers 4

getDoubleColumnMethod · 0.95
getDoubleRowMethod · 0.95
compareMethod · 0.95
createSubsetMethod · 0.95

Calls 4

checkBoundsMethod · 0.95
getStringMethod · 0.95
getColumnIndexMethod · 0.95
equalsMethod · 0.45

Tested by

no test coverage detected