public void addAll(Collection<? extends T> collection){
  if (mEventDelegate != null)   mEventDelegate.addData(collection == null ? 0 : collection.size());
  if (collection != null && collection.size() != 0) {
synchronized (mLock) {
      mObjects.addAll(collection);
    }
  }
  if (mNotifyOnChange)   notifyDataSetChanged();
}

public void addAll ( Collection < ? extends T > collection ) { if ( mEventDelegate != null ) mEventDelegate . addData ( collection == null ? 0 : collection . size ( ) ) ; if ( collection != null && collection . size ( ) != 0 ) { synchronized ( mLock ) { mObjects . addAll ( collection ) ; } } if ( mNotifyOnChange ) notifyDataSetChanged ( ) ; }
adds the specified collection at the end of the array .
