Skip to content

Instantly share code, notes, and snippets.

@ts-3156
Created March 15, 2011 19:24
Show Gist options
  • Save ts-3156/871270 to your computer and use it in GitHub Desktop.
Save ts-3156/871270 to your computer and use it in GitHub Desktop.
public ArrayList<String> addAll(List<String> users1, List<String> users2){
ArrayList<String> dataToReturn = new ArrayList<String>(users1);
dataToReturn.addAll(users2);
return dataToReturn;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment