code: public PathElement getElement(int index) {
          final List<PathElement> list = pathAddressList;
          return list.get(index);
      }
docs: Gets the element at the given index.
  
  @param index the index
  @return the element
  
  @throws IndexOutOfBoundsException if the index is out of range (<tt>index &lt; 0 || index &gt;= size()</tt>)