|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--gov.llnl.sidl.BaseArray | +--SIDL.Opaque.Array | +--SIDL.Opaque.Array3
Define a three dimensional array of type long
.
This array representation is used for SIDL arrays since it requires
no copies to go between Java and SIDL. Explicit copies may be made
of the array by calling the appropriate get
and
set
methods.
Field Summary |
Fields inherited from class gov.llnl.sidl.BaseArray |
d_array, d_owner |
Constructor Summary | |
|
Opaque.Array3()
Create an empty three dimensional array. |
|
Opaque.Array3(int s0,
int s1,
int s2)
Create a three dimenstional array of the specified size, with the lower index starting at zero. |
|
Opaque.Array3(int l0,
int l1,
int l2,
int u0,
int u1,
int u2)
Create a three dimensional array using the specified lower and upper bounds (where both bounds are inclusive). |
|
Opaque.Array3(long[][][] array)
Create a three dimensional array using the specified Java array. |
protected |
Opaque.Array3(long array,
boolean owner)
Create a three dimensional array directly using the SIDL pointer and owner flag. |
Method Summary | |
long |
_get(int i,
int j,
int k)
Get the specified array element without bounds checking. |
void |
_set(int i,
int j,
int k,
long value)
Set the specified array element without bounds checking. |
long[][][] |
get()
Convert the SIDL array into a Java array. |
long |
get(int i,
int j,
int k)
Get the specified array element with bounds checking. |
void |
reallocate(int l0,
int l1,
int l2,
int u0,
int u1,
int u2)
Reallocate array data using the specifed lower and upper bounds. |
void |
set(int i,
int j,
int k,
long value)
Set the specified array element with bounds checking. |
void |
set(long[][][] array)
Set the value of the SIDL array from the Java array. |
Methods inherited from class SIDL.Opaque.Array |
_destroy, _dim, _get, _lower, _reallocate, _set, _upper |
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 Opaque.Array3()
protected Opaque.Array3(long array, boolean owner)
public Opaque.Array3(int l0, int l1, int l2, int u0, int u1, int u2)
public Opaque.Array3(int s0, int s1, int s2)
public Opaque.Array3(long[][][] array)
Method Detail |
public long _get(int i, int j, int k)
get
instead.
public long get(int i, int j, int k)
public void reallocate(int l0, int l1, int l2, int u0, int u1, int u2)
public void _set(int i, int j, int k, long value)
set
instead.
public void set(int i, int j, int k, long value)
public long[][][] get()
public void set(long[][][] array)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |