|
@@ -218,8 +218,7 @@ public class WrapperUtil<T> {
|
|
|
*/
|
|
|
public static <O> void listDifference(List<O> a, List<O> b) {
|
|
|
//将ab并集
|
|
|
- Collection abUn = CollectionUtils.retainAll(a, b);
|
|
|
- System.out.println(abUn);
|
|
|
+ Collection<O> abUn = CollectionUtils.retainAll(a, b);
|
|
|
//删除a中abUn的值
|
|
|
a.removeAll(abUn);
|
|
|
//删除b中abUn的值
|