I have two array lists e.g.
List a; contains : 10/10/2014, 10/11/2016 List b; contains : 10/10/2016
How can i do
Here is a generic solution for this problem.
public List difference(List first, List second) { List toReturn = new ArrayList<>(first); toReturn.removeAll(second); return toReturn; }