Java tutorial
import java.util.stream.LongStream; public class Main { public static void main(String[] args) { LongStream b = LongStream.of(1L); b.forEach(System.out::println); } }