code: public T get(int index) throws IndexOutOfBoundsException {
          if (index >= mSize || index < 0) {
              throw new IndexOutOfBoundsException("Asked to get item at " + index + " but size is "
                      + mSize);
          }
          return mData[index];
      }
docs: Returns the item at the given index.
  
  @param index The index of the item to retrieve.
  @return The item at the given index.
  @throws java.lang.IndexOutOfBoundsException if provided index is negative or larger than the
  size of the list.