JAva 8大放異彩(二)
982 ワード
, 、 , ?
java8 , :
int[] ints = new int[] {1,2,3,4,5,6,7,8,9};
Stream.of(ints).collect(Collectors.joining(","));
Arrays.stream(ints).collect(Collectors.joining(","));