code: public E get(int i) {
      if (i < 0 || i >= objects.size())
        throw new ArrayIndexOutOfBoundsException("Index " + i + 
                                                 " outside the bounds [0," + 
                                                 size() + ")");
      return objects.get(i);
    }
docs: Gets the object whose index is the integer argument.
  
  @param i the integer index to be queried for the corresponding argument
  @return the object whose index is the integer argument.