Created
December 4, 2016 19:18
-
-
Save xpadro/875a0c159dec6ac0e64b46f906b1d16e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public void handle(List<Person> persons) { | |
| String names = persons.stream().map(Person::getName).collect(Collectors.joining(", ")); | |
| System.out.println(String.format("Persons retrieved: %s", names)); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment