//集合取交集
List<String> tempList =(List<String>) org.apache.commons.collections.CollectionUtils.intersection(newIdList, oldIdList);
intersection 获取两个集合的交集
最新推荐文章于 2024-09-05 10:28:36 发布

//集合取交集
List<String> tempList =(List<String>) org.apache.commons.collections.CollectionUtils.intersection(newIdList, oldIdList);