public static List<String> quoteStrList(List<String> list){
  List<String> tmpList=list;
  list=new LinkedList<String>();
  for (  String str : tmpList) {
    str="'" + str + "'";
    list.add(str);
  }
  return list;
}

public static List < String > quoteStrList ( List < String > list ) { List < String > tmpList = list ; list = new LinkedList < String > ( ) ; for ( String str : tmpList ) { str = "'" + str + "'" ; list . add ( str ) ; } return list ; }
encloses each of a list of strings in quotes .
