When it is possible that if you interchange the lines of adding a and b, then
hashSet.size () == 2 instead of 3:
a = ;
b = ;
c = ;
Set <ThirdPartyType> hashSet = new ...;
hashSet.add (a); hashSet.add (b); hashSet.add (c);
When it is possible that if you interchange the lines of adding a and b, then
hashSet.size () == 2 instead of 3:
a = ;
b = ;
c = ;
Set <ThirdPartyType> hashSet = new ...;
hashSet.add (a); hashSet.add (b); hashSet.add (c);