User`s guide

Using Class Methods
Field name of the requested element
index
Index of the requested element in the MWStructArray
In the case where index is of type int, the valid range for index is 1<=index
<= N
,whereN is the total number of elements in the array.
Inthecasewhere
index is of type int[],eachelementoftheindex vector
is an index along one dimension of the
MWStructArray object. T he valid
range for any index is
1 <= index[i] <= N[i],whereN[i] is the size of the
ith dimension.
Exceptions
The get method throws the following exception:
IndexOutOfBoundsException
The specified index parameter is invalid
set. This method returns the element at the specified one-based offset in
this array. The
set method of MWStructArray overrides the set method of
class
MWArray.
To set the
element at a specific index,useoneof
public void set(int index, Object element)
public void set(int[] index, Object element)
To set the element at a specific index and structure field, use one of
public void set(String fieldname, int index, Object element)
public void set(String fieldname, int[] index, Object element)
Use the first syntax (int index) to return the ele ment at the specified
one-based offset in the a rray, accessing elements in column-wise order. Us e the
4-129