Changes in new versions / Java 10
Local variable type inference: var
var in loops and try-with-resources
Where var cannot be used
Immutable copy of a collection
Collecting a stream into an immutable collection
Optional.orElseThrow without arguments
Transferring a character stream
Immutable copy of a collection
This example is in the full version, available in the app stores:
Java Recipes
App Store
Code Recipes
App Store
Already bought it? Sign in to your account