public class D4DataSequence extends D4DataVariable implements DataSequence
Modifier and Type | Field and Description |
---|---|
protected int |
index |
protected D4DataCompoundArray |
parent |
dsp
sort, template
Constructor and Description |
---|
D4DataSequence(D4DSP dsp,
DapSequence dap,
D4DataCompoundArray cdv,
int index) |
Modifier and Type | Method and Description |
---|---|
void |
addRecord(D4DataRecord record) |
long |
getRecordCount() |
DataRecord |
readRecord(long recordno) |
getDSP
getVariable
computesort, getSort, getTemplate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getVariable
getSort, getTemplate
protected D4DataCompoundArray parent
protected int index
public D4DataSequence(D4DSP dsp, DapSequence dap, D4DataCompoundArray cdv, int index) throws DataException
dsp
- The containing DSPdap
- The template for this sequencecdv
- the parent compound arrayindex
- within the parent compound arrayDataException
public void addRecord(D4DataRecord record)
public long getRecordCount()
getRecordCount
in interface DataSequence
public DataRecord readRecord(long recordno) throws DataException
readRecord
in interface DataSequence
DataException