Skip to content

Instantly share code, notes, and snippets.

@zvozin
Created July 11, 2010 17:39
Show Gist options
  • Save zvozin/471703 to your computer and use it in GitHub Desktop.
Save zvozin/471703 to your computer and use it in GitHub Desktop.
public static <T> List<String> toString(List<T> aListOfTs) {
List<String> toPrint = new ArrayList<String>();
for (T aT : aListOfTs) {
toPrint.add(aT.toString());
}
return toPrint;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment