|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuk.ac.starlink.ttools.plot2.data.WrapperTupleSequence
public class WrapperTupleSequence
TupleSequence implementation that delegates all methods to a base instance.
Constructor Summary | |
---|---|
WrapperTupleSequence(TupleSequence base)
Constructor. |
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WrapperTupleSequence(TupleSequence base)
base
- sequence to which all methods are delegatedMethod Detail |
---|
public boolean next()
TupleSequence
next
in interface TupleSequence
public long getRowIndex()
TupleSequence
getRowIndex
in interface TupleSequence
public boolean getBooleanValue(int icol)
TupleSequence
getBooleanValue
in interface TupleSequence
icol
- column index
icol
in the current row,
presumed of boolean typepublic double getDoubleValue(int icol)
TupleSequence
getDoubleValue
in interface TupleSequence
icol
- column index
icol
in the current row,
presumed of numeric typepublic Object getObjectValue(int icol)
TupleSequence
TupleSequence.next()
.
getObjectValue
in interface TupleSequence
icol
- column index
icol
in the current row,
presumed of object type
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |