Collectors.averagingDouble: The `averagingDouble` method in the Collectors utility class calculates the average of double values extracted from elements of a stream. It is useful for streams that contain floating-point numbers and require average calculations.

https://en.wikipedia.org/wiki/Java_version_history#JDK_8