Java 8 new features implementation