There are four interfaces that can represent a stream of data: Stream, IntStream, LongStream, or DoubleStream – all in the package java.util.stream since Java 8
Articles related to : Java 8 streams
Java streams 1. Intro
April 19, 2019 Java programming
Java 8 stream is pull-based and can be used any time one uses Java 8+. It allows iterate of the values provided by the Stream object, which can represent a collection, file, or any other source of data.