Ad
  • Default User Avatar

    IntSummaryStatistics will do too much not needed operations (count, average, sum...), which would not be efficient at all on big lists.

    Thumbs up for using modern stream methods