docs: @Pure
  	public P getElementAt(int index) {
  		if (index >= 0 && index < this.referenceElementCount) {
  			int idx = 0;
  			for (final GridCellElement<P> element : this.elements) {
  				if (element.isReferenceCell(this)) {
  					if (idx == index) {
  						return element.get();
  					}
  					++idx;
  				}
  			}
  		}
  		throw new IndexOutOfBoundsException();
  	}