private 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;
}

private 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 ; }
returns the string position to which the line - mapping defined by mappingpair vec maps the column col .
