About Question enthuware.ocpjp.v8.2.1898 :
Moderator: admin
-
- Posts: 29
- Joined: Sun Feb 07, 2021 6:30 pm
- Contact:
About Question enthuware.ocpjp.v8.2.1898 :
Why does IntStream's average() return OptionalDouble but Collectors.averagingInt() returns a double? Any reason?
-
- Site Admin
- Posts: 10046
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: About Question enthuware.ocpjp.v8.2.1898 :
Not sure but most likely it is because of some theme they were following while designing the API.
If you like our products and services, please help us by posting your review here.
Who is online
Users browsing this forum: No registered users and 39 guests