@ Override public Object finalizeComputation ( Object object ) { if ( shouldFinalize ) { SketchHolder holder = ( SketchHolder ) object ; if ( errorBoundsStdDev != null ) { return holder . getEstimateWithErrorBounds ( errorBoundsStdDev ) ; } else { return holder . getEstimate ( ) ; } } else { return object ; } }
Finalize the computation on sketch object and returns estimate from underlying sketch .