public void clear(){
synchronized (mLock) {
    mObjects.clear();
  }
  if (mNotifyOnChange)   notifyDataSetChanged();
}

public void clear ( ) { synchronized ( mLock ) { mObjects . clear ( ) ; } if ( mNotifyOnChange ) notifyDataSetChanged ( ) ; }
remove all elements from the list .
