Overview | Methods | This Package | All Packages
Compares two arrays for equality.
Syntax
public static boolean arraysEqual( Object[] array1, Object[] array2 )
Parameters
array1
The first array to compare.
array2
The second array to compare.
Return Value
Returns true if the arrays are equal; otherwise, returns false.
Remarks
Each element is compared to the respective element in the opposite array. If either array is null, this method returns false.