In this video, We will look at the IntStream interface from Stream API. Java allows us to do boxing and unboxing and of course, autoboxing and autounboxing but, Does Stream API in java allows this ?
Can we convert a Stream of Integers to primitive int's ? Do we have boxing and unboxing concept in Stream API as well ?
That's something we are going to explore in this video.
In this video, We will learn the following topics :
1) Boxing and Unboxing in java
2) The IntStream
3) Difference between Java Stream Vs IntStream
4) Boxing and Unboxing in Stream API.
Timestamp
-----------------
00:00 - Today's Java Stream Topic
02:15 - What is boxing in Java ?
04:25 - What is auto boxing in java ?
07:40 - What is Auto Unboxing in java ?
09:56 - What is unboxing in java ?
13:46 - IntStream for primitive int
17:35 - IntStream : For better performance ?
20:52 - Int vs Integer : Memory Analysis
23:48 - IntStream : sum,min,max,avg
25:23 - OptionalInt
29:31 - Introducing reduce() of Stream API
33:37 - How reduce method in Stream API works ?
46:10 - Unboxing in stream api
49:32 - mapToInt()
50:40 - ToIntFunction
59:15 - Boxing in Stream API
01:00:05 - range vs rangeClosed
01:02:11 - boxed() in Stream
01:08:47 - Assignment
01:11:20 - What's Next ?
For more free/paid courses visit
https://www.seleniumexpress.com
LINKS AND FREE LEARNING RESOURCES
========
Watch my new mock interview series for java developers
• Java interview questions and answers ...
Watch my new Hello spring boot series
• Spring Vs Spring Boot - Why Spring Bo...
Watch Spring boot Hot topics
• @Reposicotry Vs @Service | Spring Boo...
spring core
• Spring framework tutorial for beginne...
spring mvc
• Spring MVC course introduction || Und...
spring mvc intermediate
• [INTERMEDIATE] Spring MVC Course Prev...
Spring JDBC
• Spring JDBC Course Preview || Let’s t...
spring live project
• #1 Build and Deploy A Spring Project ...
SPRING SECURITY COURSE[NEW]
• Spring Security Course Preview | Lear...
For more courses visit
https://www.seleniumexpress.com
Any time you are getting stuck with issues, Feel free to ask for support.
You can send mail to [email protected]
you can ping me on my Facebook page
/ seleniumexpress
Make sure to join my private Facebook page (Ask me here)
“SeleniumExpress - Support"
/ 187000222361579
you can ask for support in my website forum
https://www.seleniumexpress.com
Follow me on Insta
/ selenium_express