com.rapidminer.datatable
Class SimpleDataTableRow

java.lang.Object
  extended by com.rapidminer.datatable.SimpleDataTableRow
All Implemented Interfaces:
DataTableRow

public class SimpleDataTableRow
extends java.lang.Object
implements DataTableRow

A data list that contains Object arrays that record process results or other data. Each row can consist of an id and an object array which represents the data.

Author:
Ingo Mierswa

Constructor Summary
SimpleDataTableRow(double[] row)
           
SimpleDataTableRow(double[] row, java.lang.String id)
           
 
Method Summary
 java.lang.String getId()
          Returns the Id of this table row.
 int getNumberOfValues()
          Returns the total number of values.
 double getValue(int index)
          Returns the i-th value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleDataTableRow

public SimpleDataTableRow(double[] row)

SimpleDataTableRow

public SimpleDataTableRow(double[] row,
                          java.lang.String id)
Method Detail

getId

public java.lang.String getId()
Description copied from interface: DataTableRow
Returns the Id of this table row.

Specified by:
getId in interface DataTableRow

getValue

public double getValue(int index)
Description copied from interface: DataTableRow
Returns the i-th value.

Specified by:
getValue in interface DataTableRow

getNumberOfValues

public int getNumberOfValues()
Description copied from interface: DataTableRow
Returns the total number of values.

Specified by:
getNumberOfValues in interface DataTableRow


Copyright © 2001-2009 by Rapid-I