Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class Person{
- String name:
- int age;
- }
- List<Person> plist=myService.getPerson();
- List<String> list= plist.stream().map(Person-->name)map(ZoneInfoVO::name).collect(Collectors.toList()); // given syntax error
Add Comment
Please, Sign In to add comment