| Modifier and Type | Field and Description |
|---|---|
protected dap4.core.dmr.DapType |
basetype |
protected long |
bytesize |
protected int[] |
bytestrings |
protected dap4.dap4shared.D4DataAtomic |
d4data |
protected long |
dimsize |
protected dap4.dap4shared.D4DSP |
dsp |
protected int |
elementsize |
protected boolean |
isbytestring |
protected dap4.core.dmr.AtomicType |
primitivetype |
protected CDMDataset |
root |
protected dap4.core.dmr.DapVariable |
template |
protected int |
totalbytestringsize |
protected long |
totalsize |
| Modifier and Type | Method and Description |
|---|---|
protected long |
computeTotalSize() |
protected void |
copyFrom1DJavaArray(ucar.ma2.IndexIterator iter,
java.lang.Object javaArray) |
protected void |
copyTo1DJavaArray(ucar.ma2.IndexIterator indexIterator,
java.lang.Object o) |
protected ucar.ma2.Array |
createView(ucar.ma2.Index index) |
dap4.core.dmr.DapType |
getBaseType() |
boolean |
getBoolean(ucar.ma2.Index idx) |
boolean |
getBoolean(int index)
Get the array element at a specific index as a boolean
|
byte |
getByte(ucar.ma2.Index idx) |
byte |
getByte(int index)
Get the array element at a specific index as a byte
|
long |
getByteSize() |
char |
getChar(ucar.ma2.Index idx) |
char |
getChar(int index)
Get the array element at a specific index as a char
|
dap4.dap4shared.D4DataAtomic |
getData() |
double |
getDouble(ucar.ma2.Index idx) |
double |
getDouble(int index)
Get the array element at a specific index as a double
|
dap4.dap4shared.DSP |
getDSP() |
java.lang.Class |
getElementType() |
float |
getFloat(ucar.ma2.Index idx) |
float |
getFloat(int index)
Get the array element at a specific index as a float
converting as needed.
|
int |
getInt(ucar.ma2.Index idx) |
int |
getInt(int index)
Get the array element at a specific index as a integer
|
long |
getLong(ucar.ma2.Index idx) |
long |
getLong(int index)
Get the array element at a specific index as a long
|
java.lang.Object |
getObject(ucar.ma2.Index idx) |
java.lang.Object |
getObject(int index)
Get the array element at a specific index as an Object
|
dap4.core.dmr.AtomicType |
getPrimitiveType() |
CDMDataset |
getRoot() |
short |
getShort(ucar.ma2.Index idx) |
short |
getShort(int index)
Get the array element at a specific index as a short
|
long |
getSize() |
java.lang.Object |
getStorage() |
dap4.core.dmr.DapVariable |
getTemplate() |
void |
setBoolean(ucar.ma2.Index ima,
boolean value) |
void |
setBoolean(int elem,
boolean value) |
void |
setByte(ucar.ma2.Index ima,
byte value) |
void |
setByte(int elem,
byte value) |
void |
setChar(ucar.ma2.Index ima,
char value) |
void |
setChar(int elem,
char value) |
void |
setDouble(ucar.ma2.Index ima,
double value) |
void |
setDouble(int elem,
double value) |
void |
setFloat(ucar.ma2.Index ima,
float value) |
void |
setFloat(int elem,
float value) |
void |
setInt(ucar.ma2.Index ima,
int value) |
void |
setInt(int elem,
int value) |
void |
setLong(ucar.ma2.Index ima,
long value) |
void |
setLong(int elem,
long value) |
void |
setObject(ucar.ma2.Index ima,
java.lang.Object value) |
void |
setObject(int elem,
java.lang.Object value) |
void |
setShort(ucar.ma2.Index ima,
short value) |
void |
setShort(int elem,
short value) |
java.lang.String |
toString() |
arraycopy, copy, copyTo1DJavaArray, copyToNDJavaArray, factory, factory, factory, factory, factory, factory, factoryConstant, flip, get1DJavaArray, getDataAsByteBuffer, getDataAsByteBuffer, getDataAsByteBuffer, getDataType, getIndex, getIndexIterator, getIndexIteratorFast, getIndexPrivate, getRangeIterator, getRank, getShape, getSizeBytes, hasNext, isConstant, isUnsigned, makeArray, makeArray, makeArray, makeArray, makeArrayRankPlusOne, next, nextBoolean, nextByte, nextChar, nextDouble, nextFloat, nextInt, nextLong, nextShort, permute, reduce, reduce, resetLocalIterator, reshape, reshapeNoCopy, section, section, section, sectionNoReduce, sectionNoReduce, setUnsigned, shapeToString, slice, transposeprotected CDMDataset root
protected dap4.dap4shared.D4DSP dsp
protected dap4.core.dmr.DapVariable template
protected long bytesize
protected dap4.core.dmr.DapType basetype
protected dap4.core.dmr.AtomicType primitivetype
protected dap4.dap4shared.D4DataAtomic d4data
protected int elementsize
protected long dimsize
protected long totalsize
protected boolean isbytestring
protected int[] bytestrings
protected int totalbytestringsize
public CDMDataset getRoot()
public dap4.core.dmr.DapVariable getTemplate()
getTemplate in interface CDMArraypublic long getByteSize()
getByteSize in interface CDMArraypublic dap4.core.dmr.DapType getBaseType()
getBaseType in interface CDMArraypublic dap4.core.dmr.AtomicType getPrimitiveType()
getPrimitiveType in interface CDMArraypublic long getSize()
getSize in class ucar.ma2.Arraypublic dap4.dap4shared.D4DataAtomic getData()
public java.lang.String toString()
toString in class ucar.ma2.Arrayprotected long computeTotalSize()
public java.lang.Class getElementType()
getElementType in class ucar.ma2.Arraypublic double getDouble(int index)
getDouble in class ucar.ma2.Arrayindex - of element to getindex cast to double if necessary.public float getFloat(int index)
getFloat in class ucar.ma2.Arrayindex - of element to getindex cast to float if necessary.public long getLong(int index)
getLong in class ucar.ma2.Arrayindex - of element to getindex cast to long if necessary.public int getInt(int index)
getInt in class ucar.ma2.Arrayindex - of element to getindex cast to integer if necessary.public short getShort(int index)
getShort in class ucar.ma2.Arrayindex - of element to getindex cast to short if necessary.public byte getByte(int index)
getByte in class ucar.ma2.Arrayindex - of element to getindex cast to byte if necessary.public char getChar(int index)
getChar in class ucar.ma2.Arrayindex - of element to getindex cast to char if necessary.public boolean getBoolean(int index)
getBoolean in class ucar.ma2.Arrayindex - of element to getindex cast to char if necessary.public java.lang.Object getObject(int index)
getObject in class ucar.ma2.Arrayindex - of element to getindex cast to Object if necessary.public double getDouble(ucar.ma2.Index idx)
getDouble in class ucar.ma2.Arraypublic float getFloat(ucar.ma2.Index idx)
getFloat in class ucar.ma2.Arraypublic long getLong(ucar.ma2.Index idx)
getLong in class ucar.ma2.Arraypublic int getInt(ucar.ma2.Index idx)
getInt in class ucar.ma2.Arraypublic short getShort(ucar.ma2.Index idx)
getShort in class ucar.ma2.Arraypublic byte getByte(ucar.ma2.Index idx)
getByte in class ucar.ma2.Arraypublic char getChar(ucar.ma2.Index idx)
getChar in class ucar.ma2.Arraypublic boolean getBoolean(ucar.ma2.Index idx)
getBoolean in class ucar.ma2.Arraypublic java.lang.Object getObject(ucar.ma2.Index idx)
getObject in class ucar.ma2.Arraypublic void setDouble(ucar.ma2.Index ima,
double value)
setDouble in class ucar.ma2.Arraypublic void setFloat(ucar.ma2.Index ima,
float value)
setFloat in class ucar.ma2.Arraypublic void setLong(ucar.ma2.Index ima,
long value)
setLong in class ucar.ma2.Arraypublic void setInt(ucar.ma2.Index ima,
int value)
setInt in class ucar.ma2.Arraypublic void setShort(ucar.ma2.Index ima,
short value)
setShort in class ucar.ma2.Arraypublic void setByte(ucar.ma2.Index ima,
byte value)
setByte in class ucar.ma2.Arraypublic void setChar(ucar.ma2.Index ima,
char value)
setChar in class ucar.ma2.Arraypublic void setBoolean(ucar.ma2.Index ima,
boolean value)
setBoolean in class ucar.ma2.Arraypublic void setObject(ucar.ma2.Index ima,
java.lang.Object value)
setObject in class ucar.ma2.Arraypublic void setDouble(int elem,
double value)
setDouble in class ucar.ma2.Arraypublic void setFloat(int elem,
float value)
setFloat in class ucar.ma2.Arraypublic void setLong(int elem,
long value)
setLong in class ucar.ma2.Arraypublic void setInt(int elem,
int value)
setInt in class ucar.ma2.Arraypublic void setShort(int elem,
short value)
setShort in class ucar.ma2.Arraypublic void setByte(int elem,
byte value)
setByte in class ucar.ma2.Arraypublic void setChar(int elem,
char value)
setChar in class ucar.ma2.Arraypublic void setBoolean(int elem,
boolean value)
setBoolean in class ucar.ma2.Arraypublic void setObject(int elem,
java.lang.Object value)
setObject in class ucar.ma2.Arraypublic java.lang.Object getStorage()
getStorage in class ucar.ma2.Arrayprotected void copyTo1DJavaArray(ucar.ma2.IndexIterator indexIterator,
java.lang.Object o)
copyTo1DJavaArray in class ucar.ma2.Arrayprotected void copyFrom1DJavaArray(ucar.ma2.IndexIterator iter,
java.lang.Object javaArray)
copyFrom1DJavaArray in class ucar.ma2.Arrayprotected ucar.ma2.Array createView(ucar.ma2.Index index)
createView in class ucar.ma2.Array