Guest User

Untitled

a guest
Mar 18th, 2018
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.13 KB | None | 0 0
  1. List<Person> namesAccumulator = new ArrayList<>();
  2. for(Person person : myPeopleList)
  3. namesAccumulator.add(person.getName());
Add Comment
Please, Sign In to add comment