code: public E get(int index) {
          if (index >= size)
              throw new IndexOutOfBoundsException(outOfBoundsMsg(index));
  
          return (E) elementData[index];
      }
docs: Returns the element at the specified position in this list.
  
  @param  index index of the element to return
  @return the element at the specified position in this list
  @throws IndexOutOfBoundsException {@inheritDoc}