|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjadex.application.space.envsupport.evaluation.DataTable
public class DataTable
Basic data structure for all collected data.
| Field Summary | |
|---|---|
protected String[] |
columnnames
The table column names. |
protected Map |
columns
The map of column indices. |
protected String |
name
The table name. |
protected List |
rows
The data rows. |
| Constructor Summary | |
|---|---|
DataTable(String name,
String[] columnnames)
Create a new data table. |
|
| Method Summary | |
|---|---|
void |
addRow(Object[] row)
Add a data row. |
int |
getColumnIndex(String columnname)
Get the column index for a column name. |
String[] |
getColumnNames()
Get the columnnames. |
Object |
getData(int row,
int column)
Get the data element from a specific row and column. |
String |
getName()
Get the name. |
List |
getRows()
Get the data rows. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected String name
protected String[] columnnames
protected List rows
protected Map columns
| Constructor Detail |
|---|
public DataTable(String name,
String[] columnnames)
| Method Detail |
|---|
public void addRow(Object[] row)
row - The data row.public List getRows()
public String[] getColumnNames()
public int getColumnIndex(String columnname)
columnname - The column name.
public Object getData(int row,
int column)
public String getName()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||