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

Method getLong

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

Source from the content-addressed store, hash-verified

3150
3151
3152 public long getLong(int row, int column) {
3153 checkBounds(row, column);
3154 if (columnTypes[column] == LONG) {
3155 long[] longData = (long[]) columns[column];
3156 return longData[row];
3157 }
3158 String str = getString(row, column);
3159 if (str == null || str.equals(missingString)) {
3160 return missingLong;
3161 }
3162 try {
3163 return Long.parseLong(str);
3164 } catch (NumberFormatException nfe) {
3165 return missingLong;
3166 }
3167 }
3168
3169
3170 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