集合A{1,2,3,3}

集合B{1,3,5,5}

CollectionUtils.intersection(A, B);

输出的集合{1,3}

print(CollectionUtils.retainAll(A, B);

输出的集合{1,3,3};