Package net.jrodolfo.java_evolution.java07
package net.jrodolfo.java_evolution.java07
Examples and notes for features introduced in Java 7.
Java 7 introduced Project Coin language improvements, NIO.2 filesystem APIs,
the fork/join framework, and JVM support for invokedynamic.
-
ClassDescriptionDemonstrates the diamond operator, introduced in Java 7.Demonstrates Java 7 exception-handling improvements from Project Coin.Failure modes used by the example.Demonstrates the fork/join framework introduced in Java 7.Demonstrates NIO.2 filesystem APIs introduced in Java 7.Demonstrates binary literals and underscores in numeric literals, introduced in Java 7.Demonstrates strings in
switch, introduced in Java 7.Demonstrates try-with-resources, introduced in Java 7.