This comment has been minimized.
This comment has been minimized.Show comment Hide comment
Java 8 does improve things. I actually tried to change your for loop to use Java 8 as well:
Although arguably more readable, your crazy minified for loop ended up shorter due to the need to import