|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TupleSequence
Interface for iterating over points to plot. At each step, a tuple of values required for the plot is available. Elements of the tuple are addressed by index, i.e. column. Each step represents a point which is a candidate for plotting; some rows of the original data set may be excluded if that data set has been subsetted to produce this sequence.
Different typed access methods are provided for retrieving the result of each column. It is up to the caller to keep track of which is the right one to use. It's done this way so that we can return primitive values.
Method Summary | |
---|---|
boolean |
getBooleanValue(int icol)
Returns the value of a given column as a boolean. |
double |
getDoubleValue(int icol)
Returns the value of a given column as a double. |
Object |
getObjectValue(int icol)
Returns the value of a given column as an object. |
long |
getRowIndex()
Returns the row index for the underlying data set. |
boolean |
next()
Move to the next item in the sequence. |
Method Detail |
---|
boolean next()
long getRowIndex()
Object getObjectValue(int icol)
next()
.
icol
- column index
icol
in the current row,
presumed of object typedouble getDoubleValue(int icol)
icol
- column index
icol
in the current row,
presumed of numeric typeboolean getBooleanValue(int icol)
icol
- column index
icol
in the current row,
presumed of boolean type
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |