|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--gov.llnl.sidl.BaseArray | +--SIDL.Boolean.Array
Define a one dimensional array of type boolean
for the SIDL Java run-time. Many of these methods will throw
array index exceptions if the specified indices are out of bounds.
Field Summary |
Fields inherited from class gov.llnl.sidl.BaseArray |
d_array, d_owner |
Constructor Summary | |
|
Boolean.Array()
Construct an empty array object. |
|
Boolean.Array(int dim,
int[] lower,
int[] upper)
Create an array with the specified lower and upper bounds. |
protected |
Boolean.Array(long array,
boolean owner)
Create an array using an IOR array pointer. |
Method Summary | |
void |
_destroy()
Native routine to destroy (deallocate) the current array data. |
int |
_dim()
Native routine to get the dimension of the current array. |
boolean |
_get(int i,
int j,
int k,
int l)
Native routine to fetch the specified value from the array. |
int |
_lower(int dim)
Native routine to fetch the specified lower bound of the array. |
void |
_reallocate(int dim,
int[] lower,
int[] upper)
Native routine to reallocate data in the array. |
void |
_set(int i,
int j,
int k,
int l,
boolean value)
Native routine to set the specified value in the array. |
int |
_upper(int dim)
Native routine to fetch the specified upper bound of the array. |
Methods inherited from class gov.llnl.sidl.BaseArray |
checkBounds, checkBounds, checkBounds, checkBounds, checkDimension, checkIndexBounds, checkNullArray, destroy, dim, finalize, isNull, lower, reallocate, reset, upper |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Boolean.Array()
realllocate
before any actions are performed on the
array data.
protected Boolean.Array(long array, boolean owner)
public Boolean.Array(int dim, int[] lower, int[] upper)
Method Detail |
public int _dim()
_dim
in class BaseArray
public int _lower(int dim)
_lower
in class BaseArray
public int _upper(int dim)
_upper
in class BaseArray
public boolean _get(int i, int j, int k, int l)
public void _set(int i, int j, int k, int l, boolean value)
public void _destroy()
_destroy
in class BaseArray
public void _reallocate(int dim, int[] lower, int[] upper)
_reallocate
in class BaseArray
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |