public static boolean IsIn(String elt,Vector set){
  int i=0;
  boolean result=false;
  while (i < set.size()) {
    result=result || elt.equals((String)set.elementAt(i));
    i=i + 1;
  }
  ;
  return result;
}

public static boolean IsIn ( String elt , Vector set ) { int i = 0 ; boolean result = false ; while ( i < set . size ( ) ) { result = result || elt . equals ( ( String ) set . elementAt ( i ) ) ; i = i + 1 ; } ; return result ; }
sets of strings * methods for handling sets of strings , where such a set is represented as a vector of its elements .
