/** * Returns a {@link RowColumnVector} object representing the row and column number of the specified character position in the source document. * @param pos the position in the source document. * @return a {@link RowColumnVector} object representing the row and column number of the specified character position in the source document. * @throws IndexOutOfBoundsException if the specified position is not within the bounds of the document. * @see #getRow(int pos) * @see #getColumn(int pos) */ public RowColumnVector getRowColumnVector(final int pos) { if (pos>end) throw new IndexOutOfBoundsException(); if (rowColumnVectorCacheArray==null) rowColumnVectorCacheArray=RowColumnVector.getCacheArray(this); return RowColumnVector.get(rowColumnVectorCacheArray,pos); }