|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.udo.cs.yale.datatable.Example2DataTableRowWrapper
public class Example2DataTableRowWrapper
This class allows to use Examples as basis for
DataTableRow.
| Field Summary | |
|---|---|
private java.util.List<Attribute> |
allAttributes
|
private Example |
example
|
private Attribute |
idAttribute
|
| Constructor Summary | |
|---|---|
Example2DataTableRowWrapper(Example example,
java.util.List<Attribute> allAttributes,
Attribute idAttribute)
Creates a new wrapper. |
|
| 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 |
| Field Detail |
|---|
private Example example
private java.util.List<Attribute> allAttributes
private Attribute idAttribute
| Constructor Detail |
|---|
public Example2DataTableRowWrapper(Example example,
java.util.List<Attribute> allAttributes,
Attribute idAttribute)
| Method Detail |
|---|
public java.lang.String getId()
DataTableRow
getId in interface DataTableRowpublic double getValue(int index)
DataTableRow
getValue in interface DataTableRowpublic int getNumberOfValues()
DataTableRow
getNumberOfValues in interface DataTableRow
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||