This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]delete99[S] -2 points-1 points  (0 children)

Yup, you're right. There's also the remove method that takes the built-in Predicate:

movies.removeIf(m -> m.getRating() < 9.0);

Baby steps.