|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectucar.ma2.Array
ucar.ma2.ArrayRagged
public class ArrayRagged
DO NOT USE
Method Summary | |
---|---|
Array |
copy()
DO NOT USE, throws UnsupportedOperationException |
Array |
createView(Index index)
DO NOT USE, throws UnsupportedOperationException |
boolean |
getBoolean(Index i)
DO NOT USE, throw ForbiddenConversionException |
boolean |
getBoolean(int index)
|
byte |
getByte(Index i)
DO NOT USE, throw ForbiddenConversionException |
byte |
getByte(int index)
|
char |
getChar(Index i)
DO NOT USE, throw ForbiddenConversionException |
char |
getChar(int index)
|
double |
getDouble(Index i)
DO NOT USE, throw ForbiddenConversionException |
double |
getDouble(int index)
|
java.lang.Class |
getElementType()
Get the element class type of this Array |
float |
getFloat(Index i)
DO NOT USE, throw ForbiddenConversionException |
float |
getFloat(int index)
|
int |
getInt(Index i)
DO NOT USE, throw ForbiddenConversionException |
int |
getInt(int index)
|
long |
getLong(Index i)
DO NOT USE, throw ForbiddenConversionException |
long |
getLong(int index)
|
java.lang.Object |
getObject(Index ima)
Get the array element at index as an Object. |
java.lang.Object |
getObject(int elem)
|
short |
getShort(Index i)
DO NOT USE, throw ForbiddenConversionException |
short |
getShort(int index)
|
java.lang.Object |
getStorage()
Get underlying primitive array storage. |
void |
setBoolean(Index i,
boolean value)
DO NOT USE, throw ForbiddenConversionException |
void |
setBoolean(int index,
boolean value)
|
void |
setByte(Index i,
byte value)
DO NOT USE, throw ForbiddenConversionException |
void |
setByte(int index,
byte value)
|
void |
setChar(Index i,
char value)
DO NOT USE, throw ForbiddenConversionException |
void |
setChar(int index,
char value)
|
void |
setDouble(Index i,
double value)
DO NOT USE, throw ForbiddenConversionException |
void |
setDouble(int index,
double value)
|
void |
setFloat(Index i,
float value)
DO NOT USE, throw ForbiddenConversionException |
void |
setFloat(int index,
float value)
|
void |
setInt(Index i,
int value)
DO NOT USE, throw ForbiddenConversionException |
void |
setInt(int index,
int value)
|
void |
setLong(Index i,
long value)
DO NOT USE, throw ForbiddenConversionException |
void |
setLong(int index,
long value)
|
void |
setObject(Index ima,
java.lang.Object value)
Set the array element at index to the specified value. |
void |
setObject(int elem,
java.lang.Object value)
|
void |
setShort(Index i,
short value)
DO NOT USE, throw ForbiddenConversionException |
void |
setShort(int index,
short value)
|
Methods inherited from class ucar.ma2.Array |
---|
arraycopy, copyTo1DJavaArray, copyToNDJavaArray, factory, factory, factory, factory, factory, factory, factoryConstant, flip, get1DJavaArray, getDataAsByteBuffer, getIndex, getIndexIterator, getIndexIteratorFast, getIndexPrivate, getRangeIterator, getRank, getShape, getSize, getSizeBytes, hasNext, isUnsigned, makeArray, makeArray, makeArray, next, nextBoolean, nextByte, nextChar, nextDouble, nextFloat, nextInt, nextLong, nextShort, permute, reduce, reduce, resetLocalIterator, reshape, section, section, section, sectionNoReduce, sectionNoReduce, setUnsigned, shapeToString, slice, toString, transpose |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public java.lang.Class getElementType()
Array
getElementType
in class Array
public Array createView(Index index)
index
- use this Index
public java.lang.Object getStorage()
Array
getStorage
in class Array
public Array copy()
copy
in class Array
public double getDouble(Index i)
getDouble
in class Array
i
- Index with current element set
index
cast to double if necessary.public void setDouble(Index i, double value)
setDouble
in class Array
i
- Index with current element setvalue
- the new value; cast to underlying data type if necessary.public float getFloat(Index i)
getFloat
in class Array
i
- Index with current element set
index
cast to float if necessary.public void setFloat(Index i, float value)
setFloat
in class Array
i
- Index with current element setvalue
- the new value; cast to underlying data type if necessary.public long getLong(Index i)
getLong
in class Array
i
- Index with current element set
index
cast to long if necessary.public void setLong(Index i, long value)
setLong
in class Array
i
- Index with current element setvalue
- the new value; cast to underlying data type if necessary.public int getInt(Index i)
getInt
in class Array
i
- Index with current element set
index
cast to int if necessary.public void setInt(Index i, int value)
setInt
in class Array
i
- Index with current element setvalue
- the new value; cast to underlying data type if necessary.public short getShort(Index i)
getShort
in class Array
i
- Index with current element set
index
cast to short if necessary.public void setShort(Index i, short value)
setShort
in class Array
i
- Index with current element setvalue
- the new value; cast to underlying data type if necessary.public byte getByte(Index i)
getByte
in class Array
i
- Index with current element set
index
cast to float if necessary.public void setByte(Index i, byte value)
setByte
in class Array
i
- Index with current element setvalue
- the new value; cast to underlying data type if necessary.public boolean getBoolean(Index i)
getBoolean
in class Array
i
- Index with current element set
index
cast to boolean if necessary.public void setBoolean(Index i, boolean value)
setBoolean
in class Array
i
- Index with current element setvalue
- the new value; cast to underlying data type if necessary.public java.lang.Object getObject(Index ima)
Array
getObject
in class Array
ima
- element Index
index
public void setObject(Index ima, java.lang.Object value)
Array
setObject
in class Array
ima
- Index with current element setvalue
- the new value.public char getChar(Index i)
getChar
in class Array
i
- Index with current element set
index
cast to char if necessary.public void setChar(Index i, char value)
setChar
in class Array
i
- Index with current element setvalue
- the new value; cast to underlying data type if necessary.public double getDouble(int index)
getDouble
in class Array
public void setDouble(int index, double value)
setDouble
in class Array
public float getFloat(int index)
getFloat
in class Array
public void setFloat(int index, float value)
setFloat
in class Array
public long getLong(int index)
getLong
in class Array
public void setLong(int index, long value)
setLong
in class Array
public int getInt(int index)
getInt
in class Array
public void setInt(int index, int value)
setInt
in class Array
public short getShort(int index)
getShort
in class Array
public void setShort(int index, short value)
setShort
in class Array
public byte getByte(int index)
getByte
in class Array
public void setByte(int index, byte value)
setByte
in class Array
public char getChar(int index)
getChar
in class Array
public void setChar(int index, char value)
setChar
in class Array
public boolean getBoolean(int index)
getBoolean
in class Array
public void setBoolean(int index, boolean value)
setBoolean
in class Array
public java.lang.Object getObject(int elem)
getObject
in class Array
public void setObject(int elem, java.lang.Object value)
setObject
in class Array
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |