diff --git a/java/stream/intstreamEasyMemo.java b/java/stream/intstreamEasyMemo.java new file mode 100644 index 0000000..56855e8 --- /dev/null +++ b/java/stream/intstreamEasyMemo.java @@ -0,0 +1,2 @@ +//連番になってるカラム名を出力した +System.out.println(java.util.stream.IntStream.rangeClosed(1, 60).mapToObj(i -> String.format("F36_%d", i)).collect(Collectors.joining(",")));