{"categories":["Java"],"url":"https://yohhoy.hatenadiary.jp/entry/20150516/p1","title":"\u7a7a\u30b9\u30c8\u30ea\u30fc\u30e0\u306b\u5bfe\u3059\u308ballMatch/noneMatch\u306ftrue","blog_url":"https://yohhoy.hatenadiary.jp/","provider_name":"Hatena Blog","image_url":null,"author_name":"yohhoy","height":"190","width":"100%","type":"rich","author_url":"https://blog.hatena.ne.jp/yohhoy/","published":"2015-05-16 00:00:00","description":"Java 8\u3067\u5c0e\u5165\u3055\u308c\u305fStream API\u306b\u95a2\u3057\u3066\u3001\u7a7a\u306e\u30b9\u30c8\u30ea\u30fc\u30e0\u306b\u5bfe\u3059\u308ballMatch\u304a\u3088\u3073noneMatch\u7d42\u7aef\u64cd\u4f5c\u306f\u5e38\u306btrue\u3092\u8fd4\u3059\u3002\u306a\u304a\u3001\u7a7a\u30b9\u30c8\u30ea\u30fc\u30e0\u306b\u5bfe\u3059\u308b anyMatch\u306f\u5e38\u306bfalse\u3092\u8fd4\u3059\u3002 // \u6574\u6570\u5024\u306f\u5076\u6570\u304b\uff1f IntPredicate isEven = n -> (n % 2 == 0); IntStream.empty().allMatch(isEven); // true IntStream.empty().noneMatch(isEven); // true IntStream.empty().anyMatch(isEven); // false \u4e0a\u8a18\u30b3\u30fc\u30c9\u2026","version":"1.0","blog_title":"yohhoy\u306e\u65e5\u8a18","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fyohhoy.hatenadiary.jp%2Fentry%2F20150516%2Fp1\" title=\"\u7a7a\u30b9\u30c8\u30ea\u30fc\u30e0\u306b\u5bfe\u3059\u308ballMatch/noneMatch\u306ftrue - yohhoy\u306e\u65e5\u8a18\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","provider_url":"https://hatena.blog"}