I need to compare two ArrayList<String[]> and get differences between them, so I thought using .removeAll as in ArrayList<String> but I don't know how to use it with ArrayList<String[]>. As example below:
        ArrayList<String[]> a = new ArrayList<String[]>();
        ArrayList<String[]> b = new ArrayList<String[]>();
        a.add(new String[] {"1","1"});
        a.add(new String[] {"2","2"});
        a.add(new String[] {"3","3"});
        a.add(new String[] {"4","4"});
        b.add(new String[] {"1","1"});
        b.add(new String[] {"2","2"});
        b.add(new String[] {"3","4"}); // I'd like to compare both and remove **a** to get only this line!
        b.add(new String[] {"4","4"});
I'd like an ouput as below:
[3,4]
Any tip how to get just this line?
 
     
     
     
    