-
Notifications
You must be signed in to change notification settings - Fork 7
Java 8
New Features Introduced in Java 8!!
-
forEach() method in Iterable interface : Provides an easier way to iterate through a collection. The list API further provides an handle for streaming the output, like filtering output based on criteria. The For Each method accepts an object type action(Consumer for list and BiConsumer for Map type), which allows us to separate the business logic from the iteration logic. See example - Java8ForEachExample.java
-
default and static methods in Interfaces
-
Functional Interfaces and Lambda Expressions
-
Java Stream API for Bulk Data Operations on Collections
-
Java Time API
-
Collection API improvements
-
Concurrency API improvements
-
Java IO improvements
-
Miscellaneous Core API improvements
-
Parallel operations
-
Java + JavaScript = ❤
-
Concurrent accumulators
https://www.tutorialspoint.com/java8/java8_overview.htm
https://leanpub.com/whatsnewinjava8/read
http://www.journaldev.com/2389/java-8-features-with-examples