I have two lists of Strings and am removing duplicates like this:

```
List<String> list1 = Arrays.asList("1", "2", "3", "4");
List<String> list2 = Arrays.asList("1", "4", "5", "6");
List<String> duplicates = list1.stream().filter(s -> list2.contains(s)).collect(Collectors.toList());
list1.removeAll(duplicates);
list2.removeAll(duplicates);

```

So the result is:

```
list1 = 2, 3
list2 = 5, 6

```

Is there a better way to accomplish this? i.e. with fewer statements.