The SetComparison Interface contains the following method:
compareSet compares this set against another, and returns one of the previous results.