map (Person::getName).collect(toList()); // 获取每个元素的字符串长度放入新流中,然后转为List类型。 List<String> words = Arrays.asList("AA", "B", ...
確定! 回上一頁