anyMatch

作者: 年年_DK | 来源:发表于2018-06-16 14:25 被阅读0次
// ラムダ式
boolean b = strs.stream().anyMatch(s -> s.equals("fuga"));
System.out.println(b);

相关文章

网友评论

      本文标题:anyMatch

      本文链接:https://www.haomeiwen.com/subject/zueeeftx.html