package util;

import java.util.ArrayList;
import java.util.List;

public class Util {
	
	public static List<String> convertStringArrayToList(String[] array){
		List<String> answer = new ArrayList<String>();
		for(int i = 0; i < array.length; i ++){
			answer.add(array[i]);
		}
		return answer;
	}
	
	public static void printStringList(List<String> list){
		System.out.println("StringList starts: ");
		for(String s: list){
			System.out.print(s + ",");
		}
		System.out.print("//StringList ends.");
		System.out.println();
	}

}

@@ -59,16 +59,111 @@
 l.List;%0A
+/**%0A * %0A * @author Main Justin (Zihao) Zhang%0A * Intended for use of some general methods%0A *%0A */
 %0Apublic 
@@ -466,16 +466,38 @@
 println(
+);%0A%09%09System.out.print(
 %22StringL
@@ -500,16 +500,22 @@
 ingList 
+print 
 starts: 
@@ -570,9 +570,9 @@
  + %22
-,
+/
 %22);%0A
@@ -612,38 +612,20 @@
 ist 
+print 
 ends.%22
-);%0A%09%09System.out.println(
 );%0A%09

update util