private void combineHistogramSameBuckets ( FixedBucketsHistogram otherHistogram ) { long [ ] otherHistogramArray = otherHistogram . getHistogram ( ) ; for ( int i = 0 ; i < numBuckets ; i ++ ) { histogram [ i ] += otherHistogramArray [ i ] ; } count += otherHistogram . getCount ( ) ; max = Math . max ( max , otherHistogram . getMax ( ) ) ; min = Math . min ( min , otherHistogram . getMin ( ) ) ; outlierHandler . handleOutliersForCombineSameBuckets ( otherHistogram ) ; }
Merge another histogram that has the same range and same buckets .