filmov
tv
Java Stream Vs IntStream : Which one for better performance ? | Boxing & Unboxing in Stream API
Показать описание
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
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
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
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
Комментарии