question: public boolean removeDataSet ( T d ) { if ( d == null ) return false ; boolean removed = mDataSets . remove ( d ) ; if ( removed ) { mYValCount -= d . getEntryCount ( ) ; mYValueSum -= d . getYValueSum ( ) ; calcMinMax ( mDataSets ) ; } return removed ; }
target:  Removes the given DataSet from this data object. Also recalculates all minimum and maximum values. Returns true if a DataSet was removed, false if no DataSet could be removed.