-
Notifications
You must be signed in to change notification settings - Fork 168
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[#221] Add Agg.medianAll(), Agg.percentileAll() to return a Seq of mu…
…ltiple values A few fixes from the suggested PR: - Removed unnecessary comments - Removed unnecessary covariance in Tuple2<T, U> - Added static imports where appropriate - Factored out common Collector logic between percentileBy() and percentileAllBy() - percentileCollector() is a Collector for common supplier/accumulator/combiner logic as well as handling empty and single element cases and sorting - percentileIndex does the percentile to arraylist index calculation
- Loading branch information
Showing
2 changed files
with
330 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.