Guest User

Untitled

a guest
Jan 22nd, 2018
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. public class Person{
  2. String name:
  3. int age;
  4. }
  5.  
  6. List<Person> plist=myService.getPerson();
  7. 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