List of utility methods to do Collection Difference
List | getSymmetricDifference(final Set Finds all unique property names that are in the first set, but not in the second List<String> difference = new ArrayList<String>(firstCollection); for (String value : secondCollection) { difference.remove(value); return difference; |
Collection | leftDifference(final Collection c1, final Collection c2) left Difference return rightDifference(c2, c1);
|