Unresolved directive in <stdin> - include::../../../../../../../../src/main/java/ten/api/OptionalApi.java[tag=orElseThrow]A argumentless method Optional.orElseThrow() that throws a NoSuchElementException has been added.
The following describes selected improvements of the Java API. See the Java 10 release notes.
Unresolved directive in <stdin> - include::ListApi.adoc[leveloffset=+1] Unresolved directive in <stdin> - include::MapApi.adoc[leveloffset=+1] Unresolved directive in <stdin> - include::OptionalApi.adoc[leveloffset=+1] Unresolved directive in <stdin> - include::SetApi.adoc[leveloffset=+1] Unresolved directive in <stdin> - include::CollectorsApi.adoc[leveloffset=+1]
var is not a keyword but a reserved type identifier.
The type is inferred from the initializer.
See https://openjdk.java.net/projects/amber/LVTIstyle.html
which discusses when var should be used and when best avoided.
Unresolved directive in <stdin> - include::../../../../../../../../src/main/java/ten/lang/LocalVariableTypeInference.java[tag=varTypeInference]The following describes selected improvements of the Java language. See the Java 10 release notes.
Unresolved directive in <stdin> - include::LocalVariableTypeInference.adoc[leveloffset=+1]
The new newFileSystem method allows to access the content of a file like a file system.
Read more in the Java 13 Java API documentation.
Unresolved directive in <stdin> - include::../../../../../../../../src/main/java/thirteen/api/FileSystemsApi.java[tag=newFileSystem]