I have two Collections in a Java class.The first collection contains previous data, the second contains updated data from the previous collection.
I would like to c
public static boolean isEqualCollection(java.util.Collection a,
java.util.Collection b)
Returns true if the given Collections contain exactly the same elements with exactly the same cardinalities.
That is, iff the cardinality of e in a is equal to the cardinality of e in b, for each element e in a or b.
Parameters:
Returns: true iff the collections contain the same elements with the same cardinalities.