public void clear(){
  sample.clear();
  count.set(0);
  max.set(Long.MIN_VALUE);
  min.set(Long.MAX_VALUE);
  sum.set(0);
  variance.set(new double[]{-1,0});
}

public void clear ( ) { sample . clear ( ) ; count . set ( 0 ) ; max . set ( Long . MIN_VALUE ) ; min . set ( Long . MAX_VALUE ) ; sum . set ( 0 ) ; variance . set ( new double [ ] { - 1 , 0 } ) ; }
clears all recorded values .
