}
TDoubleObjectMap<ScoreDistributionTop.ThresholdsRange> thresholds_by_pvalues(double[] pvalues) throws HashOverflowException {
ScoreDistributionTop scores_hash = score_distribution_under_pvalue(ArrayExtensions.max(pvalues));
try {
return scores_hash.thresholds_by_pvalues(pvalues);
} catch (ScoreDistributionTop.NotRepresentativeDistribution exception) {
throw new RuntimeException("Should never be here", exception);
}
}