public static class Integer.Array4 extends Integer.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 |
Integer.Array4.Holder |
Modifier | Constructor and Description |
---|---|
|
Integer.Array4()
Create an empty four dimensional array.
|
|
Integer.Array4(int[][][][] array)
Create a four dimensional array using the specified Java array.
|
|
Integer.Array4(int s0,
int s1,
int s2,
int s3,
boolean isRow)
Create a four dimenstional array of the specified size, with the lower
index starting at zero.
|
|
Integer.Array4(int l0,
int l1,
int l2,
int l3,
int u0,
int u1,
int u2,
int u3,
boolean isRow)
Create a four dimensional array using the specified lower and upper
bounds (where both bounds are inclusive).
|
protected |
Integer.Array4(long array,
boolean owner)
Create a four dimensional array directly using the sidl pointer
and owner flag.
|
Modifier and Type | Method and Description |
---|---|
int |
_get(int i,
int j,
int k,
int l)
Get the specified array element without bounds checking.
|
void |
_set(int i,
int j,
int k,
int l,
int value)
Set the specified array element without bounds checking.
|
void |
copy(Integer.Array4 dest)
Method Copy copies the elements of 'this' to an already existing
array of the same size.
|
void |
fromArray(int[][][][] array)
Set the value of the sidl array from the Java array.
|
int |
get(int i,
int j,
int k,
int l)
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 l3,
int u0,
int u1,
int u2,
int u3,
boolean isRow)
Reallocate array data using the specifed lower and upper bounds.
|
void |
set(int i,
int j,
int k,
int l,
int value)
Set the specified array element with bounds checking.
|
Integer.Array4 |
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.
|
int[][][][] |
toArray()
Convert the sidl array into a Java array.
|
_copy, _dcast, _get, _reallocate, _set, _slice
_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 Integer.Array4()
protected Integer.Array4(long array, boolean owner)
public Integer.Array4(int l0, int l1, int l2, int l3, int u0, int u1, int u2, int u3, boolean isRow)
public Integer.Array4(int s0, int s1, int s2, int s3, boolean isRow)
public Integer.Array4(int[][][][] array)
public int length(int dim)
public int _get(int i, int j, int k, int l)
get
instead.public int get(int i, int j, int k, int l)
public void reallocate(int l0, int l1, int l2, int l3, int u0, int u1, int u2, int u3, boolean isRow)
public Integer.Array4 smartCopy()
public void copy(Integer.Array4 dest)
public void _set(int i, int j, int k, int l, int value)
set
instead.public void set(int i, int j, int k, int l, int value)
public int[][][][] toArray()
public void fromArray(int[][][][] array)