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.

Overload List

  Name Description
Public method Static ArrayEquals (Object, Object) 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.
Public method Static ArrayEquals (Object, Object, Double, Double) 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.

See Also