|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--uk.ac.starlink.table.AbstractStarTable | +--uk.ac.starlink.table.RandomStarTable
Implements a StarTable based on random access. The isRandom method always returns true, and the getRowSequence method is implemented using the table's (abstract) getCell and getRow methods.
Implementations of this object must supply a non-negative return value for getColumnCount method, because the RowSequence method requires this knowledge.
Constructor Summary | |
RandomStarTable()
|
Method Summary | |
abstract long |
getRowCount()
The number of rows in this table. |
RowSequence |
getRowSequence()
Returns a RowSequence object based on the random data access methods of this table. |
boolean |
isRandom()
Returns true. |
Methods inherited from class uk.ac.starlink.table.AbstractStarTable |
checkedLongToInt, getCell, getColumnAuxDataInfos, getColumnCount, getColumnInfo, getName, getParameterByName, getParameters, getRow, getURL, setName, setParameter, setParameters, setURL |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public RandomStarTable()
Method Detail |
public boolean isRandom()
isRandom
in interface StarTable
isRandom
in class AbstractStarTable
public RowSequence getRowSequence()
getRowSequence
in interface StarTable
getRowSequence
in class AbstractStarTable
public abstract long getRowCount()
getRowCount
in interface StarTable
getRowCount
in class AbstractStarTable
|
Copyright © 2004 CLRC: Central Laboratory of the Research Councils. All rights reserved. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |