public static Map < Integer , Number > getPercentileValueMap ( List < Integer > targetPercentileList , List < Number > numberList ) { List < Double > sortedDoubleList = sortedDoubleList ( numberList ) ; return targetPercentileList . stream ( ) . collect ( toMap ( percentile -> percentile , percentile -> getPercentileValueWithSorted ( percentile , sortedDoubleList ) ) ) ; }
Gets percentile value map .