public void addAll(final Collection<? extends T> collection){
synchronized (mLock) {
    mList.addAll(collection);
  }
  notifyDataSetChanged();
}

public void addAll ( final Collection < ? extends T > collection ) { synchronized ( mLock ) { mList . addAll ( collection ) ; } notifyDataSetChanged ( ) ; }
adds the specified collection at the end of the array .
