sidl
public static class Enum.Array3 extends Enum.Array
int
.
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.Modifier and Type | Class and Description |
---|---|
static class |
Enum.Array3.Holder |
Modifier | Constructor and Description |
---|---|
|
Enum.Array3()
Create an empty three dimensional array.
|
|
Enum.Array3(int s0,
int s1,
int s2,
boolean isRow)
Create a three dimenstional array of the specified size, with the lower
index starting at zero.
|
|
Enum.Array3(int l0,
int l1,
int l2,
int u0,
int u1,
int u2,
boolean isRow)
Create a three dimensional array using the specified lower and upper
bounds (where both bounds are inclusive).
|
|
Enum.Array3(long[][][] array)
Create a three dimensional array using the specified Java array.
|
protected |
Enum.Array3(long array,
boolean owner)
Create a three dimensional array directly using the sidl pointer
and owner flag.
|
Modifier and Type | Method and Description |
---|---|
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.
|
void |
copy(Enum.Array3 dest)
Method Copy copies the elements of 'this' to an already existing
array of the same size.
|
void |
fromArray(long[][][] array)
Set the value of the sidl array from the Java array.
|
long |
get(int i,
int j,
int k)
Get the specified array element with bounds checking.
|
int |
length(int dim)
Routine gets length of the array in the specified dimension
|
void |
reallocate(int l0,
int l1,
int l2,
int u0,
int u1,
int u2,
boolean isRow)
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.
|
Enum.Array3 |
smartCopy()
Method smartCopy returns a a copy of a borrowed array, or
increments the reference count of an array that manages it's
own data.
|
long[][][] |
toArray()
Convert the sidl array into a Java array.
|
_copy, _reallocate
_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
public Enum.Array3()
protected Enum.Array3(long array, boolean owner)
public Enum.Array3(int l0, int l1, int l2, int u0, int u1, int u2, boolean isRow)
public Enum.Array3(int s0, int s1, int s2, boolean isRow)
public Enum.Array3(long[][][] array)
public int length(int dim)
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, boolean isRow)
public Enum.Array3 smartCopy()
public void copy(Enum.Array3 dest)
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[][][] toArray()
public void fromArray(long[][][] array)