org.gcube.contentmanagement.graphtools.data
Class GraphSamplesTable
java.lang.Object
org.gcube.contentmanagement.graphtools.abstracts.SamplesTable
org.gcube.contentmanagement.graphtools.data.GraphSamplesTable
public class GraphSamplesTable
- extends SamplesTable
GraphSamplesTable
public GraphSamplesTable(List<Point<? extends Number,? extends Number>> graph)
GraphSamplesTable
public GraphSamplesTable()
GraphSamplesTable
public GraphSamplesTable(String seriesName,
List<String> xLables,
List<Double> yValues,
boolean invert)
getNumOfAttributes
public int getNumOfAttributes()
- Specified by:
getNumOfAttributes
in class SamplesTable
getNumOfDataRows
public int getNumOfDataRows()
- Specified by:
getNumOfDataRows
in class SamplesTable
getValue
public double getValue(int d,
int a)
- Specified by:
getValue
in class SamplesTable
getClassification
public String getClassification(int d)
- Specified by:
getClassification
in class SamplesTable
addLabel
public void addLabel(int i,
String label)
- Specified by:
addLabel
in class SamplesTable
addSample
public void addSample(int i,
int j,
double value)
- Specified by:
addSample
in class SamplesTable
addSampleRow
public void addSampleRow(String label,
double... values)
- Specified by:
addSampleRow
in class SamplesTable
getGraph
public List<Point<? extends Number,? extends Number>> getGraph()
Copyright © 2013. All Rights Reserved.