public synchronized void clear(){
  super.clear();
  mMaxValues.clear();
}

public synchronized void clear ( ) { super . clear ( ) ; mMaxValues . clear ( ) ; }
removes all the existing values from the series .
