è¦ç´ ãã³ã¬ã¯ã·ã§ã³ã«ç´¯ç©ãããæ§ã ãªæ¡ä»¶ã«ãã£ã¦è¦ç´ ãè¦ç´ãããªã©ãæ§ã ãªä¾¿å©ãªç°¡ç´å¦çãå®è£ ããCollectorã®å®è£ ã 次ã®ã³ã¼ãã¯äºãç¨æãããã³ã¬ã¯ã¿ã使ã£ã¦ããããå¯å¤ç°¡ç´ä½æ¥ãããä¾ã§ããã // ååãListã«ç´¯ç©ãã List<String> list = people.stream().map(Person::getName).collect(Collectors.toList()); // ååãTreeSetã«ç´¯ç©ãã Set<String> set = people.stream().map(Person::getName).collect(Collectors.toCollection(TreeSet::new)); // è¦ç´ ãæååã«å¤æããã«ã³ãã§åºåã£ã¦é£çµãã String joined = things.stream() .map(Object::
{{#tags}}- {{label}}
{{/tags}}