5. 5 / 54 ã©ã ãå¼ã¨ã¹ããªã¼ã API ⢠ã©ã ãå¼ã¨ã¯é¢æ°ã簡便ã«è¡¨ç¾ããããã®è¨æ³ã ⢠ã¹ããªã¼ã APIã¯ãã©ã ãå¼ãå©ç¨ããã³ã¬ã¯ ã·ã§ã³æä½ç¨ã®API ⢠é¢æ°åããã°ã©ãã³ã°è¨èªç±æ¥ãæ´å²ã¯å¤ãã ⢠ããã¾ã§ã®æç¶ãåããªãã¸ã§ã¯ãæåçãªã ãã°ã©ãã³ã°ææ³ãããé¢æ°åããã°ã©ãã³ã° ã«å¤ããã¾ãã ⢠ãã©ãã¤ã ã·ããã®ãããï¼ï¼ 6. 6 / 54 ç°¡åãªãµã³ã㫠⢠ãã«ã¼ãã®ä¸è¦§ã®ä¸ãã ⢠ååãâãããâã§å§ã¾ãã ⢠å¤æ®µã100å以ä¸ã®ãã®ãã ⢠å¤æ®µé ã§ä¸¦ã³æ¿ãã ⢠ååã ããåãåºãã¦ã ⢠ãªã¹ããä½æãã 1 List<String> apples = fruits.stream() 2 .filter(f -> f.getName().startsWith("ããã")) 3 .filter(f -> f.getPrice() > 10
{{#tags}}- {{label}}
{{/tags}}