|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgov.llnl.sidl.BaseArray
sidl.Long.Array
sidl.Enum.Array
sidl.Enum.Array1
public static class Enum.Array1
Nested Class Summary | |
---|---|
static class |
Enum.Array1.Holder
|
Field Summary |
---|
Fields inherited from class gov.llnl.sidl.BaseArray |
---|
d_array, d_owner |
Constructor Summary | |
---|---|
|
Enum.Array1()
Create an empty one dimensional array. |
|
Enum.Array1(int s0,
boolean isRow)
Create a one dimenstional array of the specified size, with the lower index starting at zero. |
|
Enum.Array1(int l0,
int u0,
boolean isRow)
Create a one dimensional array using the specified lower and upper bounds (where both bounds are inclusive). |
|
Enum.Array1(long[] array)
Create a one dimensional array using the specified Java array. |
protected |
Enum.Array1(long array,
boolean owner)
Create a one dimensional array directly using the sidl pointer and owner flag. |
Method Summary | |
---|---|
long |
_get(int i)
Get the specified array element without bounds checking. |
void |
_set(int i,
long value)
Set the specified array element without bounds checking. |
void |
copy(Enum.Array1 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)
Get the specified array element with bounds checking. |
int |
length()
Routine gets length of the array |
void |
reallocate(int l0,
int u0,
boolean isRow)
Reallocate array data using the specifed lower and upper bounds. |
void |
set(int i,
long value)
Set the specified array element with bounds checking. |
Enum.Array1 |
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. |
Methods inherited from class sidl.Enum.Array |
---|
_copy, _dcast, _get, _set, _slice |
Methods inherited from class sidl.Long.Array |
---|
_copy, _reallocate |
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 Enum.Array1()
protected Enum.Array1(long array, boolean owner)
public Enum.Array1(int l0, int u0, boolean isRow)
public Enum.Array1(int s0, boolean isRow)
public Enum.Array1(long[] array)
Method Detail |
---|
public int length()
public long _get(int i)
get
instead.
public long get(int i)
public void reallocate(int l0, int u0, boolean isRow)
public Enum.Array1 smartCopy()
public void copy(Enum.Array1 dest)
public void _set(int i, long value)
set
instead.
public void set(int i, long value)
public long[] toArray()
public void fromArray(long[] array)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |