How to compare two arrays in Processing?
import java.util.Arrays; String arrA[] = {"one", "two", "three"}; String arrB[] = {"one", "two", "three"}; if (Arrays.equals(arrA, arrB)) { println("Arays are identical"); }
Tested up to: Processing v3.3.7.
by Rolf van Gelder | CAGE Web Design, Eindhoven
How to compare two arrays in Processing?
import java.util.Arrays; String arrA[] = {"one", "two", "three"}; String arrB[] = {"one", "two", "three"}; if (Arrays.equals(arrA, arrB)) { println("Arays are identical"); }
Tested up to: Processing v3.3.7.