Sometimes you end up with a List object that you need to whittle down to fewer elements. One way you can do that is with a Java Stream and the filter() method.
So you've got an array that you need whittled down to a few items or just one matching item? If so, then you'll probably use either find() or filter().