I want to compare these two ArrayList
:
public static ArrayList<List<String>> arrayList1 = new ArrayList<List<String>>();
public static ArrayList<List<String>> arrayList2 = new ArrayList<List<String>>();
If they have the same elements it will return true, otherwise false.
See Question&Answers more detail:os