Java Functional Programming Tutorial - 01

preview_player
Показать описание
Java Functional Programming Tutorial. Important Functional Programming Concepts - Lambda Expression, Stream and Operations on a Stream (Intermediate Operations - Sort, Distinct, Filter, Map and Terminal Operations - max, min, collect to List), Functional Interfaces - Predicate Interface,Consumer Interface, Function Inteface for Mapping, Method References - static and instance methods

Java is one of the most popular object oriented programming languages. We take an hands-on approach using a combination of JShell(An awesome new feature in Java 9) and Eclipse as an IDE to illustrate more than 200 Java Coding Exercises, Puzzles and Code Examples.

FunctionalProgramming
Step 01 - Introduction to Functional Programming - Functions are First Class Citizens
Step 02 - Functional Programming - First Example with Function as Parameter
Step 03 - Functional Programming - Exercise - Loop a List of Numbers
Step 04 - Functional Programming - Filtering - Exercises to print odd and even numbers from List
Step 05 - Functional Programming - Collect - Sum of Numbers in a List
Step 06 - Functional Programming vs Structural Programming - A Quick Comparison
Step 07 - Functional Programming Terminology - Lambda Expression, Stream and Operations on a Stream
Step 08 - Stream Intermediate Operations - Sort, Distinct, Filter and Map
Step 09 - Stream Intermediate Operations - Exercises - Squares of First 10, Map String List to LowerCase and Length of String
Step 10 - Stream Terminal Operations - 1 - max operation with Comparator
Step 11 - Stream Terminal Operations - 2 - min, collect to List,
Step 12 - Optional class in Java - An Introduction
Step 13 - Behind the Screens with Functional Interfaces - Implement Predicate Interface
Step 14 - Behind the Screens with Functional Interfaces - Implement Consumer Interface
Step 15 - Behind the Screens with Functional Interfaces - Implement Function Inteface for Mapping
Step 16 - Simplify Functional Programming code with Method References - static and instance methods
Step 17 - Functions are First Class Citizens
Step 18 - Introduction to Functional Programming - Conclusion
Рекомендации по теме
Комментарии
Автор

You have a brilliant way of explaining things- meticulous, organized and clear. Not just the topic, but the small shortcuts in eclipse come as a revelation with your tutorials which I would never otherwise try in the first place. A big thank you!

pallavimanan
Автор

Apart from writing concise code, does Functional programming gives any benefit to the business. Those benefits could be in terms of cost saving through less CPU/memory usage, faster time to complete a job etc?

esakkisundar
Автор

HI, I am using Java 1.8 and the compiler says method "of " on List interface undefined; Is this Not available in Java 1.8 ?

mettasatishkumar
Автор

Lol but return comes as well, then we are saying "How" again. 33:00

InderjeetSinghmakkar
Автор

How did you get eclipse to work with Java 9?

motolola
Автор

I miss your "AhhHa" nowadays :)

notmeme
visit shbcf.ru