📜  java 8 anymatch 两个列表 - Java 代码示例

📅  最后修改于: 2022-03-11 14:52:44.400000             🧑  作者: Mango

代码示例1
boolean isAnyMatch = list2.stream().anyMatch(list1::contains);