摘要: 集合运算 交集 (list1 + list2) List<T> intersect = list1.stream() .filter(list2::contains) .collect(Collectors.toList()); 差集 //(list1 - list2) List<String> r 阅读全文
posted @ 2021-03-05 16:11 satire 阅读(1093) 评论(0) 推荐(0)