public void addAll(T... items){
synchronized (mLock) {
    if (mOriginalValues != null) {
      Collections.addAll(mOriginalValues,items);
    }
 else {
      Collections.addAll(mObjects,items);
    }
  }
  if (mNotifyOnChange)   notifyDataSetChanged();
}

public void addAll ( T ... items ) { synchronized ( mLock ) { if ( mOriginalValues != null ) { Collections . addAll ( mOriginalValues , items ) ; } else { Collections . addAll ( mObjects , items ) ; } } if ( mNotifyOnChange ) notifyDataSetChanged ( ) ; }
adds the specified items at the end of the array .
