ããã¦ããªãã¸ã§ã¯ãã®ã³ã³ããããããªããã£ãåã®ã³ã³ããã«å¤æããæ¹æ³ã¨ãããªããã£ãåã®ã³ã³ããã«åãã£ã¦ããAPIã®æ´»ç¨æ³ããè¦ããã¾ããããã¤ãã®å®ä¾ã§ã¯ä¸å³ã«ç¤ºããã·ã³ãã«ãªãã¡ã¤ã³ã使ã£ã¦èª¬æãã¾ãã ãµã³ãã«ã³ã¼ãã¯ã¦ããããã¹ãã¨ãã¦æ¸ããã¦ãããå®è¡ã«ã¯Java 8ãå¿ è¦ã§ãã [å³ãã¯ãªãã¯ãã¦æ¡å¤§] æ¬ç¨¿ã®ä¾ãèªã¿çµããããã«ã¯ãGS Collectionsã§éçºãããè±å¯ã§å®æãããAPIãããã«æ¢æ±ãããã¨èå³ãæã£ã¦ããã ãããã¨æãã¾ãã ä¾2ï¼ ã³ã¬ã¯ã·ã§ã³å ã®è¦ç´ ãã²ã¨ã¤ã§ãæ¡ä»¶ã«ä¸è´ãããã©ãããå¤å¥ãã anySatisfy/anySatisfyWithã¡ã½ããã使ç¨ãã¦ä¸è¨ã®ããã«2éãã®æ¹æ³ã§æ¸ãã¾ãã @Test public void doAnyPeopleHaveCats() { Predicate<Person> predicate = p
{{#tags}}- {{label}}
{{/tags}}