Use Java 8 candy!

Improved code readability and memory management.