User`s guide

Using Class Methods
Method Description
“clone” on page
4-133
Creates and returns a deep copy of this array.
“compareTo”
on pag e 4-134
Compares this array with the specified array for order.
“equals” on
page 4-134
Indicates w hether some other array is equal to this one.
“hashCode” on
page 4-134
Returns a hash code value for the array.
“sharedCopy”
on pag e 4-134
Creates and returns a shared copy of this array.
“toString” on
page 4-135
Returns a string representation of the array.
clone. This method create s and returns a deep copy of this array. Because
clone allocates a new array, any changes made to this new array are not
reflected in the original.
The
clone method of MWStructArray overrides the clone method of class
MWArray.
The prototype for the
clone method is
public Object clone()
Input Parameters
None
Exceptions
The clone method throws the following exception:
IndexOutOfBoundsException
The specified index parameter is invalid.
4-133