public class CDMDataCompoundArray extends AbstractDataVariable implements DataCompoundArray
| Modifier and Type | Field and Description |
|---|---|
protected ArrayStructure |
array |
protected Variable |
cdmvar |
protected CDMDSP |
dsp |
protected DataCompound[] |
instances |
protected long |
nelems |
protected int[] |
shape |
sort, template| Constructor and Description |
|---|
CDMDataCompoundArray(CDMDSP dsp,
DapVariable dv,
ArrayStructure array) |
| Modifier and Type | Method and Description |
|---|---|
long |
getCount() |
DataSort |
getElementSort() |
void |
read(List<Slice> slices,
DataCompound[] result)
For this method, the data will be a list of CDMDataStructure
or (eventually) CDMDataSequence objects.
|
DataCompound |
read(long index) |
getVariablecomputesort, getSort, getTemplateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetVariablegetSort, getTemplateprotected CDMDSP dsp
protected Variable cdmvar
protected DataCompound[] instances
protected ArrayStructure array
protected int[] shape
protected long nelems
public CDMDataCompoundArray(CDMDSP dsp, DapVariable dv, ArrayStructure array) throws DataException
DataExceptionpublic DataSort getElementSort()
getElementSort in interface DataCompoundArraypublic long getCount()
getCount in interface DataCompoundArraypublic DataCompound read(long index) throws DataException
read in interface DataCompoundArrayDataExceptionpublic void read(List<Slice> slices, DataCompound[] result) throws DataException
read in interface DataCompoundArrayDataExceptionCopyright © 1999–2014 UCAR/Unidata. All rights reserved.