Filtering Operations in Stream
This lesson discusses filtering operations in streams.
We'll cover the following...
The filtering operations filters the given stream and returns a new stream, which contains only those elements that are required for the next operation.
filter() method
The Stream
interface has a filter()
method to ...