I have two sorted sets : sortedSet1(Object ,Object1 , Object2 , Object3 , Object4 ) and sortedSet2(Object ,Object1 , Object2 , Object3 , Object4 ) . The objects have other lists with objects inside.
I want to compare each value from inside out and catch any differences between the 2 sortedSets. I do not want the exact difference. I want to see just if there are any changes. I have tried sortedSet1.equals(sortedSet2) but it dies not work, if i change a value inside another object inside the sortedSet it does not catch the difference. I have also tried 
if (!sortedSet1.containsAll(sortedSet2)) {
    // do something 
} 
with no luck.. I think that the answer exists in streams, but I have very little experience with them..
Thank you very much for your help.