Java 8 Streams Are Not Completely Lazy

Java 8 streams are lazy. The intermediate operations will not be executed till a terminal operation is invoked. But, Java 8 streams flatMap are not lazy.

January 20, 2020