filmov
tv
Java Method Reference & Stream API : Learn to Write Clean Code

Показать описание
In this video, We will learn about the method reference in java 8 and how it really works.
Method references are introduced first in Java 8 and they can substitute a Single line lambda where within a lambda we just call a method.
Method reference in java are very readable helps to write clean code.
In this video We will learn the following :
1. what are Method references in Java ?
2. Need of Method references in Java
3. Using existing functional interfaces to create method reference
4. What are the different types of method reference we have in java 8
5.How to use method reference with Stream API
We will talk about all the types of method reference with example.
Type 1 : Reference to a static method
Type 2 : Reference to an instance method of a particular object
Type 3 : Reference to an instance method of an arbitrary object of a particular type
Type 4 : Reference to a constructor
timestamp
-------------------
00:00 - Method Reference : Up Next
02:56 - What is method reference in Java ?
08:17 - Type 1 : Static Method Reference
11:51 - Type 2 : Reference to an instance method of a particular object
12:47 - Difference between Direct Method call vs Method Reference
17:52 - Type 3 : Reference to an instance method of an arbitrary object
32:16 - String::Concat and BiFunction
39:31 - String::toUpperCase
59:49- ArrayList::add
01:09:41 - Reference to a constructor
01:13:54 - Employee::New
01:15:16 - Referring to a one arg constructor
01:20:01 - Stream API & Method Reference
For more free/paid courses visit
LINKS AND FREE LEARNING RESOURCES
========
Watch my new mock interview series for java developers
Watch my new Hello spring boot series
Watch Spring boot Hot topics
spring core
spring mvc
spring mvc intermediate
Spring JDBC
spring live project
SPRING SECURITY COURSE[NEW]
For more courses visit
Any time you are getting stuck with issues, Feel free to ask for support.
you can ping me on my Facebook page
Make sure to join my private Facebook page (Ask me here)
“SeleniumExpress - Support"
you can ask for support in my website forum
Follow me on Insta
Method references are introduced first in Java 8 and they can substitute a Single line lambda where within a lambda we just call a method.
Method reference in java are very readable helps to write clean code.
In this video We will learn the following :
1. what are Method references in Java ?
2. Need of Method references in Java
3. Using existing functional interfaces to create method reference
4. What are the different types of method reference we have in java 8
5.How to use method reference with Stream API
We will talk about all the types of method reference with example.
Type 1 : Reference to a static method
Type 2 : Reference to an instance method of a particular object
Type 3 : Reference to an instance method of an arbitrary object of a particular type
Type 4 : Reference to a constructor
timestamp
-------------------
00:00 - Method Reference : Up Next
02:56 - What is method reference in Java ?
08:17 - Type 1 : Static Method Reference
11:51 - Type 2 : Reference to an instance method of a particular object
12:47 - Difference between Direct Method call vs Method Reference
17:52 - Type 3 : Reference to an instance method of an arbitrary object
32:16 - String::Concat and BiFunction
39:31 - String::toUpperCase
59:49- ArrayList::add
01:09:41 - Reference to a constructor
01:13:54 - Employee::New
01:15:16 - Referring to a one arg constructor
01:20:01 - Stream API & Method Reference
For more free/paid courses visit
LINKS AND FREE LEARNING RESOURCES
========
Watch my new mock interview series for java developers
Watch my new Hello spring boot series
Watch Spring boot Hot topics
spring core
spring mvc
spring mvc intermediate
Spring JDBC
spring live project
SPRING SECURITY COURSE[NEW]
For more courses visit
Any time you are getting stuck with issues, Feel free to ask for support.
you can ping me on my Facebook page
Make sure to join my private Facebook page (Ask me here)
“SeleniumExpress - Support"
you can ask for support in my website forum
Follow me on Insta
Комментарии