net.openai.ai.nn.parser
Class Data
java.lang.Object
|
+--net.openai.ai.nn.parser.Data
- public class Data
- extends java.lang.Object
|
Constructor Summary |
Data()
|
|
Method Summary |
void |
addColumnName(java.lang.String columnName)
Add a column name to the list. |
void |
addRow(java.util.Vector row)
Add a single row of data. |
java.util.Vector |
getColumnNames()
Get the column names for this data. |
java.util.Vector |
getRows()
Get the rows of data. |
void |
setColumnNames(java.util.Vector columnNames)
Set the column names for this data. |
void |
setRows(java.util.Vector rows)
Set the rows of data. |
java.lang.String |
toString()
Returns a String of the columns and the data. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Data
public Data()
getColumnNames
public java.util.Vector getColumnNames()
- Get the column names for this data.
- Returns:
- Vector List of column names for the data.
setColumnNames
public void setColumnNames(java.util.Vector columnNames)
- Set the column names for this data.
- Parameters:
columnNames - The list of column names for this data.
addColumnName
public void addColumnName(java.lang.String columnName)
- Add a column name to the list.
- Parameters:
columnName - The name to add to the columns name list.
getRows
public java.util.Vector getRows()
- Get the rows of data.
- Returns:
- Vector The rows of data.
setRows
public void setRows(java.util.Vector rows)
- Set the rows of data.
- Parameters:
rows - The rows of data to be set.
addRow
public void addRow(java.util.Vector row)
- Add a single row of data.
- Parameters:
row - The row of data to add.
toString
public java.lang.String toString()
- Returns a String of the columns and the data.
- Overrides:
toString in class java.lang.Object
- Returns:
- String String representation of this object.