public boolean removeFirst(){
  T entry=mYVals.remove(0);
  boolean removed=entry != null;
  if (removed) {
    float val=entry.getVal();
    mYValueSum-=val;
    calcMinMax(mLastStart,mLastEnd);
  }
  return removed;
}

public boolean removeFirst ( ) { T entry = mYVals . remove ( 0 ) ; boolean removed = entry != null ; if ( removed ) { float val = entry . getVal ( ) ; mYValueSum -= val ; calcMinMax ( mLastStart , mLastEnd ) ; } return removed ; }
removes the first entry ( at index 0 ) of this dataset from the entries array . returns true if successful , false if not .
