@Override public boolean remove(Object o){
  if (o == null) {
    for (int index=start; index < end; index++) {
      if (buffer[index] == null) {
        doRemove(index - start);
        return true;
      }
    }
  }
 else {
    for (int index=start; index < end; index++) {
      if (o.equals(buffer[index])) {
        doRemove(index - start);
        return true;
      }
    }
  }
  return false;
}

@ Override public boolean remove ( Object o ) { if ( o == null ) { for ( int index = start ; index < end ; index ++ ) { if ( buffer [ index ] == null ) { doRemove ( index - start ) ; return true ; } } } else { for ( int index = start ; index < end ; index ++ ) { if ( o . equals ( buffer [ index ] ) ) { doRemove ( index - start ) ; return true ; } } } return false ; }
removes the first occurrence of the specified element from this list , if it is present .
