📜  从流中返回布尔值 - Java 代码示例

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

代码示例1
boolean nameExists = yourList.stream().anyMatch(m -> m.getName.equalsIgnoreCase("ravichandrathangalapally"));