Created
May 23, 2011 02:20
-
-
Save e2kaneko/986115 to your computer and use it in GitHub Desktop.
Java - List→Array変換
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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