Decorating Using Lambda Expressions

Functional Programming in Java — by Venkat Subramaniam (40 / 96)

So far we’ve avoided creating implementation classes to support the delegate interfaces. We needed simple implementations for these interfaces, so that worked out fairly well. Let’s increase our demands on these implementations, ask them to interact with multiple delegates, and see how lambda expressions handle that.