Answers for "how to use stream to list in java"

3

java stream to list

List<String> temp = toCheck.stream().map((a -> a.getFoo())).collect(Collectors.toList());
Posted by: Guest on March-24-2020
1

stream to list

.collect(Collectors.toList());
Posted by: Guest on February-21-2021

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language