public class CDMDataAtomic extends AbstractDataVariable implements DataAtomic
| Modifier and Type | Field and Description |
|---|---|
protected AtomicType |
atomtype |
protected DapType |
basetype |
protected Array |
data |
protected CDMDSP |
dsp |
protected long |
product |
sort, template| Constructor and Description |
|---|
CDMDataAtomic(CDMDSP dsp,
DapAtomicVariable template,
Array array) |
| Modifier and Type | Method and Description |
|---|---|
protected DapSort |
computesort(Array array) |
long |
getCount() |
long |
getElementSize() |
DapType |
getType() |
void |
read(List<Slice> slices,
Object data,
long offset) |
Object |
read(long index) |
getVariablecomputesort, getSort, getTemplateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetVariablegetSort, getTemplateprotected CDMDSP dsp
protected long product
protected DapType basetype
protected AtomicType atomtype
protected Array data
public CDMDataAtomic(CDMDSP dsp, DapAtomicVariable template, Array array) throws DataException
DataExceptionpublic DapType getType()
getType in interface DataAtomicpublic long getCount()
getCount in interface DataAtomicpublic long getElementSize()
getElementSize in interface DataAtomicpublic void read(List<Slice> slices, Object data, long offset) throws DataException
read in interface DataAtomicDataExceptionpublic Object read(long index) throws DataException
read in interface DataAtomicDataExceptionprotected DapSort computesort(Array array) throws DataException
DataExceptionCopyright © 1999-2015 UCAR/Unidata. All Rights Reserved.