public class ArrayStructure extends Array
| 限定符 | 构造器 | 说明 |
|---|---|---|
|
ArrayStructure(int[] shape) |
|
protected |
ArrayStructure(Index index) |
| 限定符和类型 | 方法 | 说明 |
|---|---|---|
Array |
copy() |
DO NOT USE, throws UnsupportedOperationException
|
protected void |
copyFrom1DJavaArray(IndexIterator arg0,
Object arg1) |
|
protected void |
copyTo1DJavaArray(IndexIterator arg0,
Object arg1) |
|
protected Array |
createView(Index arg0) |
create new Array with given Index and the same backing store
|
Object |
getArrayObject() |
Get array object - NetCDF array object
|
boolean |
getBoolean(int index) |
|
boolean |
getBoolean(Index i) |
DO NOT USE, throw ForbiddenConversionException
|
byte |
getByte(int index) |
|
byte |
getByte(Index i) |
DO NOT USE, throw ForbiddenConversionException
|
char |
getChar(int index) |
|
char |
getChar(Index i) |
DO NOT USE, throw ForbiddenConversionException
|
Complex |
getComplex(int index) |
|
Complex |
getComplex(Index i) |
not legal, throw ForbiddenConversionException
|
double |
getDouble(int index) |
|
double |
getDouble(Index i) |
DO NOT USE, throw ForbiddenConversionException
|
Class |
getElementType() |
Get the element class type of this Array
|
float |
getFloat(int index) |
|
float |
getFloat(Index i) |
DO NOT USE, throw ForbiddenConversionException
|
int |
getInt(int index) |
|
int |
getInt(Index i) |
DO NOT USE, throw ForbiddenConversionException
|
long |
getLong(int index) |
|
long |
getLong(Index i) |
DO NOT USE, throw ForbiddenConversionException
|
Object |
getObject(int arg0) |
|
Object |
getObject(Index arg0) |
Get the array element at index as an Object.
|
short |
getShort(int index) |
|
short |
getShort(Index i) |
DO NOT USE, throw ForbiddenConversionException
|
Object |
getStorage() |
Get underlying primitive array storage.
|
String |
getString(int index) |
|
String |
getString(Index i) |
not legal, throw ForbiddenConversionException
|
void |
setArrayObject(Object value) |
Set array object
|
void |
setBoolean(int index,
boolean value) |
|
void |
setBoolean(Index i,
boolean value) |
DO NOT USE, throw ForbiddenConversionException
|
void |
setByte(int index,
byte value) |
|
void |
setByte(Index i,
byte value) |
DO NOT USE, throw ForbiddenConversionException
|
void |
setChar(int index,
char value) |
|
void |
setChar(Index i,
char value) |
DO NOT USE, throw ForbiddenConversionException
|
void |
setComplex(int index,
Complex value) |
|
void |
setComplex(Index i,
Complex value) |
not legal, throw ForbiddenConversionException
|
void |
setDouble(int index,
double value) |
|
void |
setDouble(Index i,
double value) |
DO NOT USE, throw ForbiddenConversionException
|
void |
setFloat(int index,
float value) |
|
void |
setFloat(Index i,
float value) |
DO NOT USE, throw ForbiddenConversionException
|
void |
setInt(int index,
int value) |
|
void |
setInt(Index i,
int value) |
DO NOT USE, throw ForbiddenConversionException
|
void |
setLong(int index,
long value) |
|
void |
setLong(Index i,
long value) |
DO NOT USE, throw ForbiddenConversionException
|
void |
setObject(int arg0,
Object arg1) |
|
void |
setObject(Index arg0,
Object arg1) |
Set the array element at index to the specified value. the value must be
passed wrapped in the appropriate Object (eg Double for double)
|
void |
setShort(int index,
short value) |
|
void |
setShort(Index i,
short value) |
DO NOT USE, throw ForbiddenConversionException
|
void |
setString(int index,
String value) |
|
void |
setString(Index i,
String value) |
not legal, throw ForbiddenConversionException
|
arraycopy, copyTo1DJavaArray, copyToNDJavaArray, factory, factory, factory, factory, factory, factory, factoryConstant, flip, get1DJavaArray, getDataAsByteBuffer, getDataAsByteBuffer, getDataAsByteBuffer, getDataType, getIndex, getIndexIterator, getIndexIteratorFast, getIndexPrivate, getRangeIterator, getRank, getShape, getSize, getSizeBytes, hasNext, isConstant, isUnsigned, makeArray, makeArray, makeArray, makeArray, makeArrayRankPlusOne, next, nextBoolean, nextByte, nextChar, nextDouble, nextFloat, nextInt, nextLong, nextShort, permute, reduce, reduce, resetLocalIterator, reshape, reshapeNoCopy, reshapeVLen, section, section, section, sectionNoReduce, sectionNoReduce, setUnsigned, shapeToString, slice, toString, transposepublic ArrayStructure(int[] shape)
protected ArrayStructure(Index index)
public Object getArrayObject()
public void setArrayObject(Object value)
value - Array objectpublic Array copy()
public double getDouble(Index i)
public void setDouble(Index i, double value)
public float getFloat(Index i)
public void setFloat(Index i, float value)
public long getLong(Index i)
public void setLong(Index i, long value)
public int getInt(Index i)
public void setInt(Index i, int value)
public short getShort(Index i)
public void setShort(Index i, short value)
public byte getByte(Index i)
public void setByte(Index i, byte value)
public boolean getBoolean(Index i)
getBoolean 在类中 Arrayi - Index with current element setindex cast to boolean if necessary.public void setBoolean(Index i, boolean value)
setBoolean 在类中 Arrayi - Index with current element setvalue - the new value; cast to underlying data type if necessary.public void setString(Index i, String value)
public Complex getComplex(Index i)
getComplex 在类中 Arrayi - Index with current element setindex cast to boolean if necessary.public void setComplex(Index i, Complex value)
setComplex 在类中 Arrayi - Index with current element setvalue - the new value; cast to underlying data type if necessary.public char getChar(Index i)
public void setChar(Index i, char value)
public boolean getBoolean(int index)
getBoolean 在类中 Arraypublic void setBoolean(int index,
boolean value)
setBoolean 在类中 Arraypublic Complex getComplex(int index)
getComplex 在类中 Arraypublic void setComplex(int index,
Complex value)
setComplex 在类中 Arraypublic Class getElementType()
ArraygetElementType 在类中 Arraypublic Object getStorage()
ArraygetStorage 在类中 Arrayprotected void copyFrom1DJavaArray(IndexIterator arg0, Object arg1)
copyFrom1DJavaArray 在类中 Arrayprotected void copyTo1DJavaArray(IndexIterator arg0, Object arg1)
copyTo1DJavaArray 在类中 Arrayprotected Array createView(Index arg0)
ArraycreateView 在类中 Arrayarg0 - use this Indexpublic Object getObject(Index arg0)
Arraypublic void setObject(Index arg0, Object arg1)
ArrayCopyright © 2019. All rights reserved.