Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

java array to list

Integer[] spam = new Integer[] { 1, 2, 3 };
List<Integer> list = Arrays.asList(spam);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #java #array #list
ADD COMMENT
Topic
Name
8+5 =