public static String prefix(Iterator stringIter,String prefix){
  StringBuilder sb=new StringBuilder();
  while (stringIter.hasNext()) {
    sb.append(prefix);
    sb.append((String)stringIter.next());
  }
  return sb.toString();
}

public static String prefix ( Iterator stringIter , String prefix ) { StringBuilder sb = new StringBuilder ( ) ; while ( stringIter . hasNext ( ) ) { sb . append ( prefix ) ; sb . append ( ( String ) stringIter . next ( ) ) ; } return sb . toString ( ) ; }
[ " a " , " b " , " c " ] and " < prefix > " - > " < prefix > a < prefix > b < prefix > c "
