anyMatch 2018-06-16 本文已影响0人 年年_DK // ラムダ式 boolean b = strs.stream().anyMatch(s -> s.equals("fuga")); System.out.println(b);