List of utility methods to do Array Deep Equal
boolean | deepEquals(boolean[] array1, boolean[] array2) Compares the two boolean arrays deeply if (array1.length != array2.length) return false; for (int i = 0; i < array1.length; i++) { if (!(array1[i] == array2[i])) return false; return true; |
boolean | deepEquals(Object[] a1, Object[] a2) Returns true if the two specified arrays are deeply equal to one another. if (a1 == a2) return true; if (a1 == null || a2 == null) return false; int length = a1.length; if (a2.length != length) return false; for (int i = 0; i < length; i++) { ... |
boolean | deepEquals(Object[] a1, Object[] a2) Copied from Arrays.deepEquals .
if (a1 == a2) { return true; if (a1 == null || a2 == null) { return false; int length = a1.length; if (a2.length != length) { ... |
boolean | deepEquals(Object[] a1, Object[] a2) deep Equals if (a1 == a2) return true; if (a1 == null || a2 == null) return false; int len = a1.length; if (len != a2.length) return false; for (int i = 0; i < len; i++) { ... |