|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgov.llnl.sidl.BaseArray
sidl.Long.Array
public static class Long.Array
Define a one dimensional array of type long
for the sidl Java run-time. Many of these methods will throw
array index exceptions if the specified indices are out of bounds.
Nested Class Summary | |
---|---|
static class |
Long.Array.Holder
|
Field Summary |
---|
Fields inherited from class gov.llnl.sidl.BaseArray |
---|
d_array, d_owner |
Constructor Summary | |
---|---|
|
Long.Array()
Construct an empty array object. |
|
Long.Array(int dim,
int[] lower,
int[] upper,
boolean isRow)
Create an array with the specified lower and upper bounds. |
protected |
Long.Array(long array,
boolean owner)
Create an array using an IOR array pointer. |
Method Summary | |
---|---|
void |
_copy(Long.Array dest)
Method Copy copies the elements of 'this' to an already existing array of the same size. |
Long.Array |
_dcast()
Casts this array to an array of a defined dimension and returns the resulting array. |
long |
_get(int i,
int j,
int k,
int l,
int m,
int n,
int o)
Native routine to fetch the specified value from the array. |
void |
_reallocate(int dim,
int[] lower,
int[] upper,
boolean isRow)
Native routine to reallocate data in the array. |
void |
_set(int i,
int j,
int k,
int l,
int m,
int n,
int o,
long value)
Native routine to set the specified value in the array. |
Long.Array |
_slice(int dimen,
int[] numElem,
int[] srcStart,
int[] srcStride,
int[] newStart)
Slice returns an array that is <= the orignial array. |
Methods inherited from class gov.llnl.sidl.BaseArray |
---|
_addRef, _deallocate, _destroy, _dim, _isColumnOrder, _isRowOrder, _length, _lower, _smartCopy, _stride, _type, _upper, checkBounds, checkBounds, checkBounds, checkBounds, checkBounds, checkBounds, checkBounds, checkDimension, checkIndexBounds, checkNullArray, destroy, dim, finalize, get_ior_pointer, get_owner, isNull, lower, reallocate, reset, set_ior_pointer, set_owner, stride, upper |
Methods inherited from class java.lang.Object |
---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Long.Array()
realllocate
before any actions are performed on the
array data.
protected Long.Array(long array, boolean owner)
public Long.Array(int dim, int[] lower, int[] upper, boolean isRow)
Method Detail |
---|
public long _get(int i, int j, int k, int l, int m, int n, int o)
public void _set(int i, int j, int k, int l, int m, int n, int o, long value)
public void _reallocate(int dim, int[] lower, int[] upper, boolean isRow)
_reallocate
in class BaseArray
public Long.Array _slice(int dimen, int[] numElem, int[] srcStart, int[] srcStride, int[] newStart)
public void _copy(Long.Array dest)
public Long.Array _dcast()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |