|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectuk.ac.starlink.table.AbstractStarTable
uk.ac.starlink.table.RandomStarTable
public abstract class 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 StarTableisRandom in class AbstractStarTablepublic RowSequence getRowSequence()
getRowSequence in interface StarTablegetRowSequence in class AbstractStarTablepublic abstract long getRowCount()
getRowCount in interface StarTablegetRowCount in class AbstractStarTable
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||