
Explore converting traditional Java methods into lambda expressions, turning named methods into anonymous functions, and using a direct functional interface to enable lambda syntax in practical scenarios.
Learn to convert a normal method to a lambda expression by defining a functional interface with a single abstract method, inferring return types, and simplifying calculator-style operations in Java 8.
Explore Java 8 predicates using the predicate interface, lambda expressions, test methods, and composing conditions with and, or, negate, including isEqual and stock and list examples.
demonstrate how to find min and max on streams in Java 8 using comparator-based lambdas, and how to handle duplicates with distinct and collect results.
Explore how to use the stream reduce function in Java 8 to sum numbers in a single line. Handle the optional result and understand the accumulator logic across elements.
Explore sequential vs parallel streams, where parallel streams run on multiple threads and may not preserve order, unlike sequential streams; apply this to faster processing when order isn't crucial.
Explore the Java 8 date-time API by manipulating local dates and times: add and subtract days, months, and years, print results, and understand before and after calculations.
Your wait for the practical hands-on course on Java-8 is over. This course is structured with a key focus on learning by doing.
In this course, you will learn below Java-8 concepts and techniques in a hands-on based approach:
Introduction to Java 8
Interface Enhancements in Java 8
Default methods inside the interface
Static methods inside the interface
Functional interfaces
Inbuilt functional interfaces
Lambda expressions
Usage of Lambda expressions
Concept of Predicates
Method reference
Double colon operator
Constructor reference
Streams
Streams filter, map, count
Streams filter and lazy
Stream and forEach
Stream min, max, sorted, distinct
Stream peek and skip
Stream range and rangeClosed
Stream reduce
Stream Optional
Stream toSet and toMap
Stream averaging and summarizing
Stream and File operations
Stream Map and FlatMap
Parallel Stream
Java 8 and Date Time API
You will get the source code of every topic with examples so that you can refer to them while learning the concepts.
After taking this course you will be able to apply the concepts in any Java project. If you are a beginner then you will learn the new features of java 8 and if you are already an experienced developer then you will be able to apply these concepts and upgrade your older java projects.
Topics are explained with examples and notes are taken by writing comments on the code, which will help in future reference of the concepts.
You can bookmark any topic while watching and you can ask your questions in the question forum.