get list with string java code example
Example 1: java obtain list string from list object
List<String> ids =
foos.stream().map(foo -> foo.getId()).collect(Collectors.toList());
Example 2: java string[] list get
java string[] list get
List<String> ids =
foos.stream().map(foo -> foo.getId()).collect(Collectors.toList());
java string[] list get