- Posts: 62
- Joined: Fri Aug 07, 2015 2:16 pm
double average = nums.parallelStream().mapToInt(i->i).average();
seems to be wrong.
there is no method parallelStream() on the Stream interface
https://docs.oracle.com/en/java/javase/ ... tream.html
- Site Admin
- Posts: 8846
- Joined: Fri Sep 10, 2010 9:26 pm
thank you for your feedback!
Users browsing this forum: No registered users and 1 guest