arrays.equals method in java code example
Example: Java array equals
java.util.Arrays.equals(a, b) // narrow equals (values are compared with == and value.equals)
java.util.Arrays.deepEquals(a, b) // deep equals (recursively looks at nested arrays)