Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

java stream to list

List<String> temp = toCheck.stream().map((a -> a.getFoo())).collect(Collectors.toList());
 
PREVIOUS NEXT
Tagged: #java #stream #list
ADD COMMENT
Topic
Name
3+1 =