Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save zvozin/471807 to your computer and use it in GitHub Desktop.
Save zvozin/471807 to your computer and use it in GitHub Desktop.
public static <T> Collection<String> toString(List<T> aListOfTs) {
return Collections2.transform(aListOfTs, new Function<T, String>()
{
public String apply(T from) {
return from.toString();
}
});
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment