Skip to content

Instantly share code, notes, and snippets.



Last active Dec 13, 2015
What would you like to do?
students.parallelStream().forEach(student -> {
student.GradePointAverage = student.Tests.parallelStream().mapToDouble(test -> test.Grade * test.Weight).sum();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.