|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgov.llnl.sidl.BaseArray
sidl.Boolean.Array
sidl.Boolean.Array6
public static class Boolean.Array6
Define a six dimensional array of type boolean
.
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.
Nested Class Summary | |
---|---|
static class |
Boolean.Array6.Holder
|
Field Summary |
---|
Fields inherited from class gov.llnl.sidl.BaseArray |
---|
d_array, d_owner |
Constructor Summary | |
---|---|
|
Boolean.Array6()
Create an empty six dimensional array. |
|
Boolean.Array6(boolean[][][][][][] array)
Create a six dimensional array using the specified Java array. |
|
Boolean.Array6(int s0,
int s1,
int s2,
int s3,
int s4,
int s5,
boolean isRow)
Create a six dimenstional array of the specified size, with the lower index starting at zero. |
|
Boolean.Array6(int l0,
int l1,
int l2,
int l3,
int l4,
int l5,
int u0,
int u1,
int u2,
int u3,
int u4,
int u5,
boolean isRow)
Create a six dimensional array using the specified lower and upper bounds (where both bounds are inclusive). |
protected |
Boolean.Array6(long array,
boolean owner)
Create a six dimensional array directly using the sidl pointer and owner flag. |
Method Summary | |
---|---|
boolean |
_get(int i,
int j,
int k,
int l,
int m,
int n)
Get the specified array element without bounds checking. |
void |
_set(int i,
int j,
int k,
int l,
int m,
int n,
boolean value)
Set the specified array element without bounds checking. |
void |
copy(Boolean.Array6 dest)
Method Copy copies the elements of 'this' to an already existing array of the same size. |
void |
fromArray(boolean[][][][][][] array)
Set the value of the sidl array from the Java array. |
boolean |
get(int i,
int j,
int k,
int l,
int m,
int n)
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 l4,
int l5,
int u0,
int u1,
int u2,
int u3,
int u4,
int u5,
boolean isRow)
Reallocate array data using the specifed lower and upper bounds. |
void |
set(int i,
int j,
int k,
int l,
int m,
int n,
boolean value)
Set the specified array element with bounds checking. |
Boolean.Array6 |
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. |
boolean[][][][][][] |
toArray()
Convert the sidl array into a Java array. |
Methods inherited from class sidl.Boolean.Array |
---|
_copy, _dcast, _get, _reallocate, _set, _slice |
Methods inherited from class gov.llnl.sidl.BaseArray |
---|
_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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Boolean.Array6()
protected Boolean.Array6(long array, boolean owner)
public Boolean.Array6(int l0, int l1, int l2, int l3, int l4, int l5, int u0, int u1, int u2, int u3, int u4, int u5, boolean isRow)
public Boolean.Array6(int s0, int s1, int s2, int s3, int s4, int s5, boolean isRow)
public Boolean.Array6(boolean[][][][][][] array)
Method Detail |
---|
public int length(int dim)
public boolean _get(int i, int j, int k, int l, int m, int n)
get
instead.
public boolean get(int i, int j, int k, int l, int m, int n)
public void reallocate(int l0, int l1, int l2, int l3, int l4, int l5, int u0, int u1, int u2, int u3, int u4, int u5, boolean isRow)
public Boolean.Array6 smartCopy()
public void copy(Boolean.Array6 dest)
public void _set(int i, int j, int k, int l, int m, int n, boolean value)
set
instead.
public void set(int i, int j, int k, int l, int m, int n, boolean value)
public boolean[][][][][][] toArray()
public void fromArray(boolean[][][][][][] array)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |