List<List<String>> list1 = new ArrayList<List<String>>();
List<List<String>> list2 = new ArrayList<List<String>>();
the values in the list1 = [[cat,01,animal] , [mouse,02,animal] , [dog,03,animal] , [eagle,01,bird]]
the values in the list2 = [[mouse,02,animal], [eagle,01,bird]]
How can i output the common elements(mouse,02,animal and eagle,01,bird)
and
the different elements (cat,01,animal and dog,03,animal) using java.
Guys i don't think this is duplicate of comparing two list. Its list> comparison.
>
– Jun 27 '16 at 12:31>` -- the same code works for both. If I were you, I would consider editing your post to include the actual code you've tried using based on the linked posts and what the output is. You may have an unrelated issue or misunderstanding in your code.