public synchronized void remove(int index){
  super.remove(index);
  double removedValue=mValue.remove(index);
  if (removedValue == mMinValue || removedValue == mMaxValue) {
    initRange();
  }
}

public synchronized void remove ( int index ) { super . remove ( index ) ; double removedValue = mValue . remove ( index ) ; if ( removedValue == mMinValue || removedValue == mMaxValue ) { initRange ( ) ; } }
removes an existing value from the series .
