public int indexString(String string,Environment env){
  if (indexHashObject == null)   createIndexHash(env);
  Integer result=(Integer)indexHashAscii.get(string);
  if (result == null) {
    if (MoreStuff == null)     MoreStuff=new Vector();
    result=new Integer(cpool.length + MoreStuff.size());
    MoreStuff.addElement(string);
    indexHashAscii.put(string,result);
  }
  return result.intValue();
}

public int indexString ( String string , Environment env ) { if ( indexHashObject == null ) createIndexHash ( env ) ; Integer result = ( Integer ) indexHashAscii . get ( string ) ; if ( result == null ) { if ( MoreStuff == null ) MoreStuff = new Vector ( ) ; result = new Integer ( cpool . length + MoreStuff . size ( ) ) ; MoreStuff . addElement ( string ) ; indexHashAscii . put ( string , result ) ; } return result . intValue ( ) ; }
find the index of an ascii string in the constant pool . if it ' s not in the constant pool , then add it at the end .
