The Java 8 Predicate is largely tied to functional programming, but it doesn’t have to be. Here are some examples with lambdas to get the most out of the component and reduce the verbosity of your code.