code: public T removeLast()
     {
        T element = elementData[--size];
        elementData[size] = null;
        return element;
     }
docs: Remove the last element from the list.  No bound check is performed, so if this
  method is called on an empty list and ArrayIndexOutOfBounds exception will be
  thrown.
  
  @return the last element of the list