|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.panayotis.gnuplot.dataset.ArrayDataSet
public class ArrayDataSet
Store data sets in a static primitive 2D array
| Constructor Summary | |
|---|---|
ArrayDataSet(double[][] values)
Creates a new instance of ArrayDataSet from a double precision 2D array |
|
ArrayDataSet(float[][] values)
Creates a new instance of ArrayDataSet from a float precision 2D array |
|
ArrayDataSet(int[][] values)
Creates a new instance of ArrayDataSet from a int precision 2D array |
|
ArrayDataSet(long[][] values)
Creates a new instance of ArrayDataSet from a long precision 2D array |
|
ArrayDataSet(java.lang.String[][] values)
Deprecated. |
|
| Method Summary | |
|---|---|
int |
getDimensions()
Retrieve how many dimensions this dataset refers to. |
java.lang.String |
getPointValue(int point,
int dimension)
Retrieve data information from a point. |
int |
size()
Retrieve how many points this data set has. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ArrayDataSet(double[][] values)
values - the 2D array in double precision to retrieve data frompublic ArrayDataSet(float[][] values)
values - the 2D array in float precision to retrieve data frompublic ArrayDataSet(int[][] values)
values - the 2D array in int precision to retrieve data frompublic ArrayDataSet(long[][] values)
values - the 2D array in long precision to retrieve data frompublic ArrayDataSet(java.lang.String[][] values)
values - the 2D array in String format to retrieve data from| Method Detail |
|---|
public int size()
size in interface DataSetpublic int getDimensions()
getDimensions in interface DataSetDataSet.getDimensions()
public java.lang.String getPointValue(int point,
int dimension)
getPointValue in interface DataSetpoint - The point numberdimension - The point dimension (or "column") to request data from
DataSet.getPointValue(int,int)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||