MCPcopy Create free account
hub / github.com/OpenSourcePhysics/osp / getValueAt

Method getValueAt

src/org/opensourcephysics/display/Dataset.java:996–1005  ·  view source on GitHub ↗
(int rowIndex, int columnIndex)

Source from the content-addressed store, hash-verified

994// }
995
996 @Override
997 public double getValueAt(int rowIndex, int columnIndex) {
998 foundColumn = columnIndex = convertTableColumnIndex(bsColVis, columnIndex);
999 rowIndex = rowIndex * model.stride;
1000 // conversionFactor added by D Brown Dec 2010
1001 if (columnIndex == 0) {
1002 return xpoints[rowIndex];
1003 }
1004 return ypoints[rowIndex] + shift;
1005 }
1006
1007 /**
1008 * Appends a data point and its uncertainty to the Dataset.

Callers 6

getValueAtMethod · 0.95
getValueAtMethod · 0.45
getSelectedDataMethod · 0.45
tableChangedMethod · 0.45
editCellAtMethod · 0.45
printDebugDataMethod · 0.45

Calls 1

Tested by 1

printDebugDataMethod · 0.36