public class LoopStarTable extends ColumnStarTable
columns_
Constructor and Description |
---|
LoopStarTable(String colName,
double start,
double end,
double step,
Boolean isInteger)
Constructs a loop table from values like the initialisers of a for loop.
|
Modifier and Type | Method and Description |
---|---|
long |
getRowCount()
Gets the number of rows in the table (which must be applicable to
all the columns).
|
addColumn, getCell, getColumnCount, getColumnData, getColumnInfo, makeTableWithRows, setCell, setColumn
getRowAccess, getRowSequence, isRandom
checkedLongToInt, close, getColumnAuxDataInfos, getName, getParameters, getRow, getRowSplittable, getURL, setName, setParameters, setURL
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getParameterByName, setParameter
public LoopStarTable(String colName, double start, double end, double step, Boolean isInteger)
isInteger
parameter may be set True for an
integer column, False for a Double column, and null if the type is
to be determined from the input values (integer if all are integers).
Integer columns are 32-bit if the values permit, otherwise 64-bit.colName
- name of the single column name in the tablestart
- initial (row 0) value of variableend
- value which variable will not exceedstep
- per-row increment of variablepublic long getRowCount()
ColumnStarTable
RandomStarTable
the
return value must be non-negative.getRowCount
in interface StarTable
getRowCount
in class ColumnStarTable
Copyright © 2024 Central Laboratory of the Research Councils. All Rights Reserved.