code: int add(T object) {
          int positionOfInsert = mObjects.size();
          mObjects.add(object);
          return positionOfInsert;
      }
docs: Adds the specified object at the end of the array.
  
  @param object The object to add at the end of the array.