|
Chemistry AppletsDavid N. Blauch |
||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Object | +--data.DataSet
Title: DataSet Description: Version 1.00 DataSet is an object for containing data Copyright: Copyright (c) 2000 David N. Blauch
Company: Davidson College
| Constructor Summary | |
DataSet()
|
|
| Method Summary | |
void |
addData(double[] xx,
double[] yy)
Adds an array of data points to the dataSet |
void |
addDatum(double xx,
double yy)
Adds a data point to the dataSet |
void |
clearData()
Clears all of the data in the set |
double[][] |
getData()
Gets all data in the set. |
double[] |
getDatum(int pt)
Gets point pt in the data set |
int |
getNumberPoints()
Gets the number of points in the data set |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
| Constructor Detail |
public DataSet()
| Method Detail |
public void addData(double[] xx,
double[] yy)
public void addDatum(double xx,
double yy)
public void clearData()
public double[][] getData()
public double[] getDatum(int pt)
pt - point numberpublic int getNumberPoints()
|
Chemistry AppletsDavid N. Blauch |
||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||