code: @Pure
  	public P getElementAt(int index) {
  		if (index >= 0) {
  			int idx = 0;
  			int eIdx;
  			for (final GridCell<P> cell : getGridCells()) {
  				eIdx = idx + cell.getReferenceElementCount();
  				if (index < eIdx) {
  					try {
  						return cell.getElementAt(index - idx);
  					} catch (IndexOutOfBoundsException exception) {
  						throw new IndexOutOfBoundsException(Integer.toString(index));
  					}
  				}
  				idx = eIdx;
  			}
  		}
  		throw new IndexOutOfBoundsException(Integer.toString(index));
  	}
docs: Replies the element at the specified index.
  
  @param index the index.
  @return the element at the specified position.