|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--gov.llnl.sidl.BaseArray | +--SIDL.String.Array | +--SIDL.String.Array1
Define a one dimensional array of type java.lang.String
.
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 | |
|
String.Array1()
Create an empty one dimensional array. |
|
String.Array1(int s0)
Create a one dimenstional array of the specified size, with the lower index starting at zero. |
|
String.Array1(int l0,
int u0)
Create a one dimensional array using the specified lower and upper bounds (where both bounds are inclusive). |
protected |
String.Array1(long array,
boolean owner)
Create a one dimensional array directly using the SIDL pointer and owner flag. |
|
String.Array1(java.lang.String[] array)
Create a one dimensional array using the specified Java array. |
Method Summary | |
java.lang.String |
_get(int i)
Get the specified array element without bounds checking. |
void |
_set(int i,
java.lang.String value)
Set the specified array element without bounds checking. |
java.lang.String[] |
get()
Convert the SIDL array into a Java array. |
java.lang.String |
get(int i)
Get the specified array element with bounds checking. |
void |
reallocate(int l0,
int u0)
Reallocate array data using the specifed lower and upper bounds. |
void |
set(int i,
java.lang.String value)
Set the specified array element with bounds checking. |
void |
set(java.lang.String[] array)
Set the value of the SIDL array from the Java array. |
Methods inherited from class SIDL.String.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 String.Array1()
protected String.Array1(long array, boolean owner)
public String.Array1(int l0, int u0)
public String.Array1(int s0)
public String.Array1(java.lang.String[] array)
Method Detail |
public java.lang.String _get(int i)
get
instead.
public java.lang.String get(int i)
public void reallocate(int l0, int u0)
public void _set(int i, java.lang.String value)
set
instead.
public void set(int i, java.lang.String value)
public java.lang.String[] get()
public void set(java.lang.String[] array)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |