When I do this:
IntStream i = IntStream.of(5,6,7,1,2,3,4);
//IntStream o = i.sequential();
i.forEach(System.out::println);
I get the same response whether I call sequential or not.Then what are the use cases of sequential() method.
Assuming I am processing millions of ints on multicore machine, unless I call sequential(), is it possible jvm will try to do the processing in parallel?