Guest User

Untitled

a guest
May 20th, 2018
161
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.13 KB | None | 0 0
  1. MutableSet<Person> people = ...;
  2. MutableSet<Address> addresses = people
  3. .asLazy()
  4. .collect(Person::getAddress)
  5. .toSet();
Add Comment
Please, Sign In to add comment