Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

java stream collect to arraylist

xxx.stream().collect(Collectors.toCollection(ArrayList::new));
Source by www.java67.com #
 
PREVIOUS NEXT
Tagged: #java #stream #collect #arraylist
ADD COMMENT
Topic
Name
4+5 =