public void addAll(T... items){
  int start;
synchronized (mLock) {
    start=getItemCount();
    Collections.addAll(mObjects,items);
  }
  if (mNotifyOnChange)   notifyItemRangeInserted(start,items.length);
}

public void addAll ( T ... items ) { int start ; synchronized ( mLock ) { start = getItemCount ( ) ; Collections . addAll ( mObjects , items ) ; } if ( mNotifyOnChange ) notifyItemRangeInserted ( start , items . length ) ; }
adds the specified items at the end of the array .
