sidl
Class Enum.Array
- Enum
public static class Enum.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.
Array() - Construct an empty array object.
|
Array(int dim, int[] lower, int[] upper, boolean isRow) - Create an array with the specified lower and upper bounds.
|
Array(long array, boolean owner) - Create an array using an IOR array pointer.
|
void | _copy(Enum.Array dest) - copies the elements from this array to dest.
|
Long.Array | _dcast()
|
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 | _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) - Routine to return an array based on this one, but slice according to your
instructions
|
_addRef , _deallocate , _destroy , _dim , _isColumnOrder , _isRowOrder , _length , _lower , _reallocate , _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 |
Array
public Array()
Construct an empty array object. This array object must be allocated
with realllocate
before any actions are performed on the
array data.
Array
public Array(int dim,
int[] lower,
int[] upper,
boolean isRow)
Create an array with the specified lower and upper bounds. The
upper bounds are inclusive. An array out of bounds exception is
thrown if the array bounds or dimension are invalid.
Array
protected Array(long array,
boolean owner)
Create an array using an IOR array pointer. The pointer value
may be zero (representing null).
_copy
public void _copy(Enum.Array dest)
copies the elements from this array to dest. ARRAYS MUST BE THE SAME SIZE.
_get
public 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. The
specified array index/indices must be lie between the array lower
upper bounds (inclusive). Invalid indices will have unpredictable
(but almost certainly bad) results.
- _get in interface Long.Array
_set
public 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. The
specified array index/indices must be lie between the array lower
upper bounds (inclusive). Invalid indices will have unpredictable
(but almost certainly bad) results.
- _set in interface Long.Array
_slice
public Long.Array _slice(int dimen,
int[] numElem,
int[] srcStart,
int[] srcStride,
int[] newStart)
Routine to return an array based on this one, but slice according to your
instructions
- _slice in interface Long.Array