We need to test that our code still works with the change from anonymous type to lambda. It should, but we never know for sure.
A task for you to do is to please create unit tests for the individual
Scrambler
s, to make sure that they work correctly.
We hope you enjoyed this tutorial. If you did, you will also enjoy our courses. We suggest you start with Extreme Java - Advanced Java, followed by Extreme Java - Concurrency Performance for Java 8.
We deliver relevant courses, by top Java developers to produce more resourceful and efficient programmers within their organisations.
We can help make your Java application run faster and trouble-shoot concurrency and performance bugs...