public class MarsTableRow extends java.lang.Object implements java.util.Iterator<MarsTableRow>
Constructor and Description |
---|
MarsTableRow(MarsTable table) |
Modifier and Type | Method and Description |
---|---|
void |
at(int rowNumber) |
int |
columnCount() |
java.util.List<java.lang.String> |
columnNames() |
java.lang.Object |
getObject(int columnIndex) |
java.lang.Object |
getObject(java.lang.String columnName) |
int |
getRowNumber() |
java.lang.String |
getStringValue(int columnIndex) |
java.lang.String |
getStringValue(java.lang.String columnName) |
double |
getValue(int columnIndex) |
double |
getValue(java.lang.String columnName) |
boolean |
hasNext() |
MarsTableRow |
next() |
void |
setValue(int columnIndex,
double value) |
void |
setValue(int columnIndex,
java.lang.String value) |
void |
setValue(java.lang.String columnName,
double value) |
void |
setValue(java.lang.String columnName,
java.lang.String value) |
public MarsTableRow(MarsTable table)
public double getValue(int columnIndex)
public double getValue(java.lang.String columnName)
public java.lang.String getStringValue(int columnIndex)
public java.lang.String getStringValue(java.lang.String columnName)
public java.lang.Object getObject(java.lang.String columnName)
public java.lang.Object getObject(int columnIndex)
public int getRowNumber()
public int columnCount()
public java.util.List<java.lang.String> columnNames()
public void setValue(int columnIndex, double value)
public void setValue(java.lang.String columnName, double value)
public void setValue(int columnIndex, java.lang.String value)
public void setValue(java.lang.String columnName, java.lang.String value)
public void at(int rowNumber)
public boolean hasNext()
hasNext
in interface java.util.Iterator<MarsTableRow>
public MarsTableRow next()
next
in interface java.util.Iterator<MarsTableRow>