public void addAll(T[] items){
  if (mEventDelegate != null)   mEventDelegate.addData(items == null ? 0 : items.length);
  if (items != null && items.length != 0) {
synchronized (mLock) {
      Collections.addAll(mObjects,items);
    }
  }
  int dataCount=items == null ? 0 : items.length;
  if (mObserver != null)   mObserver.onItemRangeInserted(getCount() - dataCount + 1,dataCount);
  if (mNotifyOnChange)   notifyItemRangeInserted(headers.size() + getCount() - dataCount + 1,dataCount);
  log("addAll notifyItemRangeInserted " + ((headers.size() + getCount() - dataCount + 1) + "," + (dataCount)));
}

public void addAll ( T [ ] items ) { if ( mEventDelegate != null ) mEventDelegate . addData ( items == null ? 0 : items . length ) ; if ( items != null && items . length != 0 ) { synchronized ( mLock ) { Collections . addAll ( mObjects , items ) ; } } int dataCount = items == null ? 0 : items . length ; if ( mObserver != null ) mObserver . onItemRangeInserted ( getCount ( ) - dataCount + 1 , dataCount ) ; if ( mNotifyOnChange ) notifyItemRangeInserted ( headers . size ( ) + getCount ( ) - dataCount + 1 , dataCount ) ; log ( "addAll notifyItemRangeInserted " + ( ( headers . size ( ) + getCount ( ) - dataCount + 1 ) + "," + ( dataCount ) ) ) ; }
adds the specified items at the end of the array .
