Updated examples about Java 8