public void add(T object){
  if (mEventDelegate != null)   mEventDelegate.addData(object == null ? 0 : 1);
  if (object != null) {
synchronized (mLock) {
      mObjects.add(object);
    }
  }
  if (mNotifyOnChange)   notifyDataSetChanged();
}

public void add ( T object ) { if ( mEventDelegate != null ) mEventDelegate . addData ( object == null ? 0 : 1 ) ; if ( object != null ) { synchronized ( mLock ) { mObjects . add ( object ) ; } } if ( mNotifyOnChange ) notifyDataSetChanged ( ) ; }
adds the specified object at the end of the array .
