Hi, I have a strange issue with Set behavour. I have a complex object where property(field) is Set of Obj -> Obj also has set of another Obj. I want to compare two such complex Objects. But default equals fails. The only difference is order of exact Objects inside Set. (If you just print the objects and compare them).
The question is how to debug Sets? I know that they order independent, and in spite of reordering in source code I got a strict order when I print the object. I think that in different cases I got just different sets, but how to debug this case?