Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
OverviewMethodsThis PackageAll Packages
Utils.arraysEqual
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.