Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

array to list java

int[] ints = new int[] {1,2,3,4,5};
Arrays.stream(ints).boxed().toList();
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #array #list #java
ADD COMMENT
Topic
Name
3+2 =