å¤ã®JAWS-UG ä¸é½ç©èª 2014ã¨ããã¤ãã³ãã§ãããããJavaã¿ãªããã¦ãããããã§ãã¨ãããã¬ã¼ã³ãã¦ãã¾ããã Javaã®ã¤ãã³ãã§ã¯ãªãã£ãã®ã§ãJavaã使ã£ã¦ãªã人ãæ³å®ãããã¬ã¼ã³ã§ããããå®éä¼å ´ã®ã»ã¨ãã©ãJavaã¡ã¤ã³ã§ã¯ãªãã£ãããã§ãã for(int num : nums){ if(num > 10) continue; sum += num * 2; } ã¨ããã³ã¼ãããNetBeansã®ãé¢æ°æä½ã使ç¨ãã¨ãããªãã¡ã¯ã¿ãªã³ã°ã§ sum = nums.stream().filter((num) -> !(num > 10)).map((num) -> num * 2).reduce(sum, Integer::sum); ã«ãªã£ãã¨ããããã¤ã©ã¤ãã ããã¾ã§ã§ããã¨ã¯æã£ã¦ãªãã£ãã ããããJavaã¿ãªããã¦ããããã㧠from ãªãã ããã
{{#tags}}- {{label}}
{{/tags}}