|
Name |
Description |
|
ArrayDescription
|
Generate a description of an array (presumed rectangular). |
|
ArrayEquals
|
Overloaded. Are two objects equal? Arrays have the standard object equals method which only returns true if the two object are the same. This method returns true if every element of the arrays match. The inputs may be of any dimensionality. The dimensionality and dimensions of the arrays must match as well as any elements. If the elements are non-primitive. non-array objects, then the equals method is called for each element. If both elements are multi-dimensional arrays, then the method recurses. |
|
ComputeSize
|
Compute the size of an object. Note that this only handles arrays or scalars of the primitive objects and Strings. It returns 0 for any object array element it does not understand. |
|
ConvertArray
|
Convert an array to a specified type. This method supports conversions only among the primitive numeric types. |
|
CopyArray
|
Copy one array into another. This function copies the contents of one array into a previously allocated array. The arrays must agree in type and size. |
|
CountDimensions
|
Method to count the dimensions of array |
|
CountElements
|
Count the number of elements in an array |
|
Curl
|
Curl an input array up into a multi-dimensional array. |
|
DeepClone
|
Try to create a deep clone of an Array or a standard clone of a scalar. The object may comprise arrays of any primitive type or any Object type which implements Cloneable. However, if the Object is some kind of collection, e.g., a Vector then only a shallow copy of that object is made. I.e., deep refers only to arrays. |
|
Equals |
Determines whether the specified Object is equal to the current Object. (inherited from Object) |
|
Flatten
|
Given an array of arbitrary dimensionality return the array flattened into a single dimension. |
|
GenericClone
|
Clone an Object if possible. * This method returns an Object which is a clone of the input object. It checks if the method implements the Cloneable interface and then uses reflection to invoke the clone method. This can't be done directly since as far as the compiler is concerned the clone method for Object is protected and someone could implement Cloneable but leave the clone method protected. The cloning can fail in a variety of ways which are trapped so that it returns null instead. This method will generally create a shallow clone. If you wish a deep copy of an array the method DeepClone should be used. * |
|
GetBaseClass
|
This routine returns the base class of an object. This is just the class of the object for non-arrays. |
|
GetBaseLength
|
This routine returns the size of the base element of an array. |
|
GetBaseType
|
This routine returns the base class of an object with the dimension indication in form of brackets and/or commas. This is just the type of the object for non-arrays. |
|
GetDimensions
|
Find the dimensions of an object. * This method returns an integer array with the dimensions of the object o which should usually be an array. * It returns an array of dimension 0 for scalar objects and it returns -1 for dimension which have not been allocated, e.g., int[][][] x = new int[100][][]; should return [100,-1,-1]. * |
|
GetHashCode |
Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table. (inherited from Object) |
|
GetType |
Gets the Type of the current instance. (inherited from Object) |
|
IsArrayOfArrays
|
Checks whether the object is a type of Array of Arrays |
|
MimicArray
|
Create an array of a type given by new type with the dimensionality given in array. |
|
NewInstance
|
Overloaded. Allocate an array dynamically. The Array.NewInstance method does not throw an error. |
|
NextIndex
|
Overloaded. Check whether next index |
|
ToString |
Returns a String that represents the current Object. (inherited from Object) |