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

dropWhile: Skipping Elements While a Condition Holds

Using dropWhile to discard consecutive leading elements that match a predicate, keeping the rest.

This lesson is for subscribers

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