Course contentsShow
Java
Lesson 1420 of 2,87032. Streams API: Intermediate OperationsPro lesson

filter Syntax and Predicate Parameter

Explore the syntax of filter, which takes a Predicate<T> and returns a Stream<T> containing only matching elements.

This lesson is for subscribers

You've completed the free preview. Subscribe to unlock every lesson in every course.