MCPcopy Index your code
hub / github.com/benfry/processing4 / getLong

Method getLong

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

Source from the content-addressed store, hash-verified

3205
3206
3207 public long getLong(int row, int column) {
3208 checkBounds(row, column);
3209 if (columnTypes[column] == LONG) {
3210 long[] longData = (long[]) columns[column];
3211 return longData[row];
3212 }
3213 String str = getString(row, column);
3214 if (str == null || str.equals(missingString)) {
3215 return missingLong;
3216 }
3217 try {
3218 return Long.parseLong(str);
3219 } catch (NumberFormatException nfe) {
3220 return missingLong;
3221 }
3222 }
3223
3224
3225 public long getLong(int row, String columnName) {

Callers 4

getLongColumnMethod · 0.95
getLongRowMethod · 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