public void remove(final T object){
synchronized (mLock) {
    mList.remove(object);
  }
  notifyDataSetChanged();
}

public void remove ( final T object ) { synchronized ( mLock ) { mList . remove ( object ) ; } notifyDataSetChanged ( ) ; }
removes the specified object from the array .
