question: private static int colToLoc ( int col , Vector < MappingPair > vec ) { int loc = col ; for ( int i = 0 ; ( i < vec . size ( ) ) && ( vec . elementAt ( i ) . col <= col ) ; i ++ ) { loc = loc + vec . elementAt ( i ) . inc ; } return loc ; }
target:  Returns the string position to which the line-mapping defined by MappingPair vec maps the column col.