public IntervalHistogram snapshot ( boolean reset ) { if ( reset ) { return new IntervalHistogram ( bins , getAndResetHits ( ) ) ; } return new IntervalHistogram ( bins , getHits ( ) ) ; }
Clones this histogram and zeroizes out hits afterwards if the reset is true .