Java 8: Improving Java Code with Lambda Expressions
Here is my second post on using Java 8 Lambda Expressions. With this how-to I walk through a common search use case where several different search conditions are used to filter a list. A few different approaches to solving the problem are reviewed. The last example uses lambda expressions and the Predicate interface to solve the problem.