| Modifier and Type | Field and Description |
|---|---|
protected DapType |
basetype |
protected long |
bytesize |
protected int[] |
bytestrings |
protected D4DataAtomic |
d4data |
protected long |
dimsize |
protected D4DSP |
dsp |
protected int |
elementsize |
protected boolean |
isbytestring |
protected AtomicType |
primitivetype |
protected CDMDataset |
root |
protected DapVariable |
template |
protected int |
totalbytestringsize |
protected long |
totalsize |
| Modifier and Type | Method and Description |
|---|---|
protected long |
computeTotalSize() |
protected void |
copyFrom1DJavaArray(IndexIterator iter,
Object javaArray) |
protected void |
copyTo1DJavaArray(IndexIterator indexIterator,
Object o) |
protected Array |
createView(Index index) |
DapType |
getBaseType() |
boolean |
getBoolean(Index idx) |
boolean |
getBoolean(int index)
Get the array element at a specific index as a boolean
|
byte |
getByte(Index idx) |
byte |
getByte(int index)
Get the array element at a specific index as a byte
|
long |
getByteSize() |
char |
getChar(Index idx) |
char |
getChar(int index)
Get the array element at a specific index as a char
|
D4DataAtomic |
getData() |
double |
getDouble(Index idx) |
double |
getDouble(int index)
Get the array element at a specific index as a double
|
DSP |
getDSP() |
Class |
getElementType() |
float |
getFloat(Index idx) |
float |
getFloat(int index)
Get the array element at a specific index as a float
converting as needed.
|
int |
getInt(Index idx) |
int |
getInt(int index)
Get the array element at a specific index as a integer
|
long |
getLong(Index idx) |
long |
getLong(int index)
Get the array element at a specific index as a long
|
Object |
getObject(Index idx) |
Object |
getObject(int index)
Get the array element at a specific index as an Object
|
AtomicType |
getPrimitiveType() |
CDMDataset |
getRoot() |
short |
getShort(Index idx) |
short |
getShort(int index)
Get the array element at a specific index as a short
|
long |
getSize() |
Object |
getStorage() |
DapVariable |
getTemplate() |
void |
setBoolean(Index ima,
boolean value) |
void |
setBoolean(int elem,
boolean value) |
void |
setByte(Index ima,
byte value) |
void |
setByte(int elem,
byte value) |
void |
setChar(Index ima,
char value) |
void |
setChar(int elem,
char value) |
void |
setDouble(Index ima,
double value) |
void |
setDouble(int elem,
double value) |
void |
setFloat(Index ima,
float value) |
void |
setFloat(int elem,
float value) |
void |
setInt(Index ima,
int value) |
void |
setInt(int elem,
int value) |
void |
setLong(Index ima,
long value) |
void |
setLong(int elem,
long value) |
void |
setObject(Index ima,
Object value) |
void |
setObject(int elem,
Object value) |
void |
setShort(Index ima,
short value) |
void |
setShort(int elem,
short value) |
String |
toString() |
arraycopy, copy, copyTo1DJavaArray, copyToNDJavaArray, factory, factory, factory, factory, factory, factory, factoryConstant, flip, get1DJavaArray, 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 D4DSP dsp
protected DapVariable template
protected long bytesize
protected DapType basetype
protected AtomicType primitivetype
protected D4DataAtomic d4data
protected int elementsize
protected long dimsize
protected long totalsize
protected boolean isbytestring
protected int[] bytestrings
protected int totalbytestringsize
public CDMDataset getRoot()
public DapVariable getTemplate()
getTemplate in interface CDMArraypublic long getByteSize()
getByteSize in interface CDMArraypublic DapType getBaseType()
getBaseType in interface CDMArraypublic AtomicType getPrimitiveType()
getPrimitiveType in interface CDMArraypublic D4DataAtomic getData()
protected long computeTotalSize()
public Class getElementType()
getElementType in class Arraypublic double getDouble(int index)
public float getFloat(int index)
public long getLong(int index)
public int getInt(int index)
public short getShort(int index)
public byte getByte(int index)
public char getChar(int index)
public boolean getBoolean(int index)
getBoolean in class Arrayindex - of element to getindex cast to char if necessary.public Object getObject(int index)
public boolean getBoolean(Index idx)
getBoolean in class Arraypublic void setBoolean(Index ima, boolean value)
setBoolean in class Arraypublic void setBoolean(int elem,
boolean value)
setBoolean in class Arraypublic Object getStorage()
getStorage in class Arrayprotected void copyTo1DJavaArray(IndexIterator indexIterator, Object o)
copyTo1DJavaArray in class Arrayprotected void copyFrom1DJavaArray(IndexIterator iter, Object javaArray)
copyFrom1DJavaArray in class Arrayprotected Array createView(Index index)
createView in class ArrayCopyright © 1999–2014 UCAR/Unidata. All rights reserved.