@ SuppressWarnings ( "EmptyCatchBlock" ) public Double [ ] getQuantiles ( double ... ratios ) { synchronized ( buckets ) { final Double [ ] quantiles = new Double [ ratios . length ] ; try { final int totalCount = checkAndGetTotalCount ( ) ; for ( int i = 0 ; i < ratios . length ; i ++ ) { try { quantiles [ i ] = computeQuantile ( ratios [ i ] , totalCount ) ; } catch ( IllegalStateException e ) { } } } catch ( IllegalStateException e ) { } return quantiles ; } }
Computes many quantiles .