Method Reference In Java 8 - How it really works ?

  Рет қаралды 7,532

Selenium Express

Selenium Express

Күн бұрын

Пікірлер: 44
@Hari54307
@Hari54307 29 күн бұрын
you're the best teacher to teach any concept like a pro, Thank you so much for these sessions. and providing it for free.
@bipinsingh1490
@bipinsingh1490 3 ай бұрын
Abhliash i have seen many youtube channel but one think i want to say u are the best and u explain everyconcept verywell with code
@lakshmojiseemakurthi2199
@lakshmojiseemakurthi2199 4 ай бұрын
It's like a twist buster at the end, you have mentioned it would work only static and method arguments should match, but the end it it worked with String::UpperCase, which creates an enthusiasm on how it worked.
@tammamdarwish4298
@tammamdarwish4298 4 ай бұрын
How
@asutoshkumar676
@asutoshkumar676 3 ай бұрын
I've watched many videos on the Stream API, but none have been as clear as this one. Your teaching skills and explanations are excellent. Thank you for sharing such fantastic content.😇😇
@keerthanashiyam
@keerthanashiyam 3 ай бұрын
That was an awesome explanation. I have read articles about method references but I understood it after watching this video only. Thank you for the video. 👏
@prasoonmishra3959
@prasoonmishra3959 4 ай бұрын
Bro your videos is really awesome. Very premium content
@SeleniumExpress
@SeleniumExpress 4 ай бұрын
Thank you
@nikhilraj9524
@nikhilraj9524 3 ай бұрын
I think you are the best on youtube.
@villagesoftwareengineer
@villagesoftwareengineer 4 ай бұрын
Haha, I've been using method-reference, but the light bulb just turned on! 😂😂😂😂
@MalobikaNandy
@MalobikaNandy 4 ай бұрын
Thanks a lot!! Was eagerly waiting for this. It feels like I can understand most of the things if you explain it. 👍👍
@asifshaikh499
@asifshaikh499 4 ай бұрын
Its very helpful brother, I need deep knowledge of exceptions and multi threading is so helpful for us if you make videos on this 2 topic
@SeleniumExpress
@SeleniumExpress 4 ай бұрын
Sure, Asif ! I will gradually get you those contents.
@aibardulatov
@aibardulatov 29 күн бұрын
@@SeleniumExpress Yes please. Can you make video about multithreadding?
@rahulbhatanagar6175
@rahulbhatanagar6175 3 ай бұрын
Loved your way of explanation. You are really a great teacher😍😇
@afzalmd23
@afzalmd23 22 күн бұрын
amazing👍
@mansinghyadav548
@mansinghyadav548 3 ай бұрын
Knowledgeable video.waiting for stream api new video
@VietNguyen-vj4su
@VietNguyen-vj4su 23 күн бұрын
good content!!!
@santhoshchandran6952
@santhoshchandran6952 4 ай бұрын
Thank You Abhi..😂 Nice one
@Vithal_Nivargi
@Vithal_Nivargi 4 ай бұрын
Thanks ❤ Please keep it up this series 🙏
@SeleniumExpress
@SeleniumExpress 4 ай бұрын
Sure, More videos to come!
@nasimkarpude1388
@nasimkarpude1388 4 ай бұрын
Hi Abhilash.. your videos are awesome... Can you take one session on generics in depth and multi threading as well
@abhilashkokkonda1713
@abhilashkokkonda1713 3 ай бұрын
First half done!
@smithaakutty124
@smithaakutty124 3 ай бұрын
1st half done
@nani-yr5ip
@nani-yr5ip 4 ай бұрын
Thank you abhi!!
@sourabhkalaskar-x5l
@sourabhkalaskar-x5l 3 ай бұрын
@SeleniumExpress I've been following this series and the content is incredibly detailed. In the third video, you introduced parallel streams, so I was expecting the next video to cover that topic. However, the latest video is on method references, which feels like a break in the flow. When will you be uploading the video on parallel streams?
@abhilashkokkonda1713
@abhilashkokkonda1713 3 ай бұрын
Yes, I can use it for consumer
@ajaysubramaniam4453
@ajaysubramaniam4453 4 ай бұрын
Learned a lot. Big fan of your content! I have a question about method references. The main purpose seems to be code reuse. Since the methods already exist, why not just call them directly using the class name or object? For instance, instead of using a method reference like Collections::sort with an interface variable, we could just use Collections.sort() wherever needed. What specific advantages do method references offer?
@pradeepranjan1309
@pradeepranjan1309 4 ай бұрын
Abhilash gave a great example with Collections.sort(), but method references really shine in scenarios involving the Stream API, where you often need to pass behavior as an argument. When using methods like filter(), map(), or forEach(), you need to provide a function that can be applied to each element in a stream. This is where method references or lambda expressions come in handy. They make the code more concise and readable. For example, if you want to filter a list of strings to find ones that start with a specific letter, you could use: List strings = Arrays.asList("apple", "banana", "cherry", "date"); List result = strings.stream() .filter(s -> s.startsWith("a")) .collect(Collectors.toList()); List result = strings.stream() .filter(String::isEmpty) .collect(Collectors.toList()); In such scenarios, you can't directly call Collections.sort() since it doesn't fit the functional interface expected by the Stream API methods. Instead, using method references like String::isEmpty or Collections::sort as arguments allows you to seamlessly integrate existing methods into your stream operations. So, method references are especially beneficial for improving readability and reusability when working with streams and functional interfaces. ---Thanks
@vijaykorke8837
@vijaykorke8837 3 ай бұрын
Bro, where had you from last few months? We are waiting for you videos on java..
@santhoshchandran6952
@santhoshchandran6952 4 ай бұрын
Can we expect Parallel stream next week?
@SeleniumExpress
@SeleniumExpress 4 ай бұрын
This week only 👍
@santhoshchandran6952
@santhoshchandran6952 4 ай бұрын
@@SeleniumExpress great 👍
@depthprogramming9751
@depthprogramming9751 2 ай бұрын
Hi avi your content is awesome how to by you course from Pakistan
@alwaysLearner9
@alwaysLearner9 4 ай бұрын
Hi, kindly do video on AOP
@Helloworld-vs3ey
@Helloworld-vs3ey 4 ай бұрын
I tried to buy the microservices boot camp course on your website but it says closed. How can I buy that course. Thank you.
@RanjanManas-s7d
@RanjanManas-s7d 4 ай бұрын
Hii Sir,You are from odisha
@darneysam5340
@darneysam5340 4 ай бұрын
Yes, its return type is void.
@srigakolapuatchuthasai6638
@srigakolapuatchuthasai6638 4 ай бұрын
Thanks abhi ❤
@SeleniumExpress
@SeleniumExpress 4 ай бұрын
Welcome! 🤗
@srigakolapuatchuthasai6638
@srigakolapuatchuthasai6638 4 ай бұрын
@@SeleniumExpress Could you please tell me abhi other than this stream API playlist what will be the upcoming videos ?
@abhilashkokkonda1713
@abhilashkokkonda1713 3 ай бұрын
Where is the answer for how it really works?
@abhishekghosh5974
@abhishekghosh5974 4 ай бұрын
The fake accent, is it really necessary?
@prabhakarpn427
@prabhakarpn427 3 ай бұрын
Please continue core java concepts abhilash
Java Method Reference & Stream API :  Learn to Write Clean Code
1:49:22
Selenium Express
Рет қаралды 6 М.
Microservices in 60 mins | Learning Path & Interview Preparation
59:40
Selenium Express
Рет қаралды 34 М.
Yay😃 Let's make a Cute Handbag for me 👜 #diycrafts #shorts
00:33
LearnToon - Learn & Play
Рет қаралды 117 МЛН
One day.. 🙌
00:33
Celine Dept
Рет қаралды 45 МЛН
كم بصير عمركم عام ٢٠٢٥😍 #shorts #hasanandnour
00:27
hasan and nour shorts
Рет қаралды 11 МЛН
DHH discusses SQLite (and Stoicism)
54:00
Aaron Francis
Рет қаралды 100 М.
Java Method References - A Beginner's Guide
12:59
Dan Vega
Рет қаралды 8 М.