Answers for "java 8 stream convert list of object to list of string"

3

java stream to list

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

Code answers related to "java 8 stream convert list of object to list of string"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language