|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuk.ac.starlink.table.WrapperStarTable
uk.ac.starlink.table.RandomWrapperStarTable
uk.ac.starlink.table.RowRandomWrapperStarTable
public class RowRandomWrapperStarTable
RandomWrapperStarTable which works by storing rows in an ArrayList.
ColumnRandomWrapperStarTable
Field Summary |
---|
Fields inherited from class uk.ac.starlink.table.WrapperStarTable |
---|
baseTable |
Constructor Summary | |
---|---|
RowRandomWrapperStarTable(StarTable baseTable)
|
Method Summary | |
---|---|
protected java.lang.Object[] |
retrieveStoredRow(long lrow)
Retrieves the row stored by the lrow'th invocation of RandomWrapperStarTable.storeNextRow(java.lang.Object[]) . |
protected void |
storeNextRow(java.lang.Object[] row)
Stores the next row encountered in the base table's row sequence. |
Methods inherited from class uk.ac.starlink.table.RandomWrapperStarTable |
---|
getCell, getColumnCount, getColumnInfo, getRow, getRowCount, getRowSequence, getURL, isRandom |
Methods inherited from class uk.ac.starlink.table.WrapperStarTable |
---|
checkedLongToInt, getBaseTable, getColumnAuxDataInfos, getName, getParameterByName, getParameters, setName, setParameter, setURL, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public RowRandomWrapperStarTable(StarTable baseTable) throws java.io.IOException
java.io.IOException
Method Detail |
---|
protected void storeNextRow(java.lang.Object[] row)
RandomWrapperStarTable
RandomWrapperStarTable.retrieveStoredRow(long)
.
storeNextRow
in class RandomWrapperStarTable
row
- the row to storeprotected java.lang.Object[] retrieveStoredRow(long lrow)
RandomWrapperStarTable
RandomWrapperStarTable.storeNextRow(java.lang.Object[])
. This method will not be called with a
value of lrow greater than or equal to the number of times
storeNextRow has been called already.
retrieveStoredRow
in class RandomWrapperStarTable
lrow
- the index of the row to retrieve
RandomWrapperStarTable.storeNextRow(java.lang.Object[])
|
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 |