public interface Array<E>
Modifier and Type | Method and Description |
---|---|
Array<E> |
asImmutable() |
int |
effectiveIndex() |
int |
effectiveIndex(int index) |
int |
effectiveIndex(int[] indexes) |
int |
effectiveIndex(int i,
int j) |
int |
effectiveIndex(int i,
int j,
int k,
int... rest) |
E |
get() |
E |
get(int i) |
E |
get(int[] indexes) |
E |
get(int i,
int j) |
E |
get(int i,
int j,
int k,
int... rest) |
boolean |
getBooleanRaw(int index) |
byte |
getByteRaw(int index) |
char |
getCharRaw(int index) |
double |
getDoubleRaw(int index) |
int |
getElementKind() |
float |
getFloatRaw(int index) |
int |
getInt() |
int |
getInt(int arg1) |
int |
getInt(int[] args) |
int |
getInt(int arg1,
int arg2) |
int |
getInt(int arg1,
int arg2,
int arg3,
int... rest) |
int |
getIntRaw(int index) |
long |
getLongRaw(int index) |
int |
getLowBound(int dim)
Get the least dimension along the specified dimension.
|
E |
getRaw(int index)
Given an "effective index", return element as object.
|
E |
getRowMajor(int index) |
short |
getShortRaw(int index) |
int |
getSize()
Total number of elements.
|
int |
getSize(int dim)
Get length along specified dimension.
|
boolean |
isEmpty() |
int |
rank()
Get the rank (number of dimensions) of this array.
|
void |
set(int[] indexes,
E value) |
void |
setRaw(int index,
E value) |
boolean isEmpty()
int rank()
int getElementKind()
int effectiveIndex()
int effectiveIndex(int index)
int effectiveIndex(int i, int j)
int effectiveIndex(int i, int j, int k, int... rest)
int effectiveIndex(int[] indexes)
E getRaw(int index)
boolean getBooleanRaw(int index)
char getCharRaw(int index)
byte getByteRaw(int index)
short getShortRaw(int index)
int getIntRaw(int index)
long getLongRaw(int index)
float getFloatRaw(int index)
double getDoubleRaw(int index)
void setRaw(int index, E value)
E get()
E get(int i)
E get(int i, int j)
E get(int i, int j, int k, int... rest)
E get(int[] indexes)
void set(int[] indexes, E value)
int getInt()
int getInt(int arg1)
int getInt(int arg1, int arg2)
int getInt(int arg1, int arg2, int arg3, int... rest)
int getInt(int[] args)
E getRowMajor(int index)
int getLowBound(int dim)
int getSize(int dim)
int getSize()