IDataInfoFactory
public static class DataTable.DataInfoTableFactory extends DataGroup.DataInfoGroupFactory
Modifier and Type | Field | Description |
---|---|---|
protected DataDoubleArray.DataInfoDoubleArrayFactory[] |
columnInfoFactories |
|
protected int |
nRows |
|
protected java.lang.String[] |
rowHeaders |
subDataInfo
dimension, label, tags
Modifier | Constructor | Description |
---|---|---|
protected |
DataInfoTableFactory(DataTable.DataInfoTable template) |
Modifier and Type | Method | Description |
---|---|---|
DataDoubleArray.DataInfoDoubleArrayFactory[] |
getColumnInfoFactories() |
Returns a copy of the array of DataInfoFactories for the columns
|
int |
getNRows() |
Returns the number of rows.
|
java.lang.String[] |
getRowHeaders() |
Returns a copy of the row headers or null if no row headers exist.
|
IDataInfo |
makeDataInfo() |
Creates a new DataInfo object using the information held by this factory.
|
void |
setColumnInfoFactories(DataDoubleArray.DataInfoDoubleArrayFactory[] newColumnInfoFactories) |
Sets the DataInfoFactories for the columns
|
void |
setNRows(int newNRows) |
Sets the number of rows.
|
void |
setRowHeaders(java.lang.String[] newRowHeaders) |
Sets the row headers.
|
getSubDataInfo, setSubDataInfo
getDimension, getLabel, getTags, setDimension, setLabel, setTags
protected DataDoubleArray.DataInfoDoubleArrayFactory[] columnInfoFactories
protected java.lang.String[] rowHeaders
protected int nRows
protected DataInfoTableFactory(DataTable.DataInfoTable template)
public IDataInfo makeDataInfo()
DataInfoFactory
makeDataInfo
in interface IDataInfoFactory
makeDataInfo
in class DataGroup.DataInfoGroupFactory
public void setNRows(int newNRows)
public int getNRows()
public java.lang.String[] getRowHeaders()
public void setRowHeaders(java.lang.String[] newRowHeaders)
public DataDoubleArray.DataInfoDoubleArrayFactory[] getColumnInfoFactories()
public void setColumnInfoFactories(DataDoubleArray.DataInfoDoubleArrayFactory[] newColumnInfoFactories)