Skip to content

Instantly share code, notes, and snippets.

@e2kaneko
Created May 23, 2011 02:20
Show Gist options
  • Save e2kaneko/986115 to your computer and use it in GitHub Desktop.
Save e2kaneko/986115 to your computer and use it in GitHub Desktop.
Java - List→Array変換
List<String> strList = Arrays.asList("data1", "data2", "data3");
String[] itemSpecArray = strList.toArray(new String[0]);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment