List of utility methods to do Array Equal
boolean | areEqual(boolean[] a, boolean[] b) are Equal if (a == b) { return true; if (a == null || b == null) { return false; if (a.length != b.length) { return false; ... |
boolean | areEqual(byte[] a, byte[] b) are Equal if (a == b) { return true; if (a == null || b == null) { return false; if (a.length != b.length) { return false; ... |
boolean | areEqual(int[] a, int[] b) are Equal if (a == b) { return true; if (a == null || b == null) { return false; if (a.length != b.length) { return false; ... |
boolean | equals(byte[] array1, byte[] array2, int length) Checks if the beginnings of two byte arrays are equal. if (array1 == array2) { return true; if (array1 == null || array2 == null || array1.length < length || array2.length < length) { return false; for (int i = 0; i < length; i++) { ... |