in Education by (55.8k points)

What is stream pipelining in Java 8?

1 Answer

0 votes
by (55.8k points)

What is stream pipelining in Java 8?

Most of the stream operations return stream itself so that their result can be pipelined. These operations are called intermediate operations and their function is to take input, process them, and return output to the target. collect() method is a terminal operation which is normally present at the end of the pipelining operation to mark the end of the stream.

Related questions

0 votes
asked Nov 8, 2020 in Education by Editorial Staff (55.8k points)
0 votes
asked Oct 10, 2021 in Education by JackTerrance (1.9m points)
...