Package uk.ac.starlink.ttools.task
Class LoopStarTable
- java.lang.Object
-
- uk.ac.starlink.table.AbstractStarTable
-
- uk.ac.starlink.table.RandomStarTable
-
- uk.ac.starlink.table.ColumnStarTable
-
- uk.ac.starlink.ttools.task.LoopStarTable
-
- All Implemented Interfaces:
uk.ac.starlink.table.StarTable
public class LoopStarTable extends uk.ac.starlink.table.ColumnStarTable
Single-column table whose column values are the values of a loop iterator variable.- Since:
- 6 Nov 2013
- Author:
- Mark Taylor
-
-
Constructor Summary
Constructors Constructor Description LoopStarTable(java.lang.String colName, double start, double end, double step, java.lang.Boolean isInteger)
Constructs a loop table from values like the initialisers of a for loop.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getRowCount()
-
Methods inherited from class uk.ac.starlink.table.ColumnStarTable
addColumn, getCell, getColumnCount, getColumnData, getColumnInfo, makeTableWithRows, setCell, setColumn
-
-
-
-
Constructor Detail
-
LoopStarTable
public LoopStarTable(java.lang.String colName, double start, double end, double step, java.lang.Boolean isInteger)
Constructs a loop table from values like the initialisers of a for loop. TheisInteger
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).- Parameters:
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 variable
-
-