Eg:
List
List
Dto1: qty=4, name=desrc1
Dto2: qty=2, name=desrc2
Dto3: qty=2, name=desrc3
List
Dto1: qty=3, code=code1
Dto2: qty=1, name=code2
Dto3: qty=1, name=code3
List
Dto1 qty=3, name=descr1, code=code1
Dto2 qty=1, name=desrc2, code=code2
Dto3 qty=1, name=desrc3, code=code3
This is just A special case, more than A set just tease than B set, with A collection is given priority to, much less likely than B A than B, the number of rows may also be different, how
CodePudding user response:
O and set is?A.r etainAll (B);
CodePudding user response:
And it is as you say, o set?