标签:输出 lis lambda list count ring system slist str
List<String> G7 = Arrays.asList("aa","Bb", "CC"); String G7Countries = G7.stream().map(z -> z.toUpperCase()).collect(Collectors.joining(", ")); System.out.println(G7Countries);
输出: AA, BB, CC
标签:输出 lis lambda list count ring system slist str
原文地址:https://www.cnblogs.com/number7/p/9445500.html