Skip to content

Instantly share code, notes, and snippets.

@aruld
Last active January 1, 2016 09:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aruld/8128406 to your computer and use it in GitHub Desktop.
Save aruld/8128406 to your computer and use it in GitHub Desktop.
employees.parallelStream()
.filter(e -> e.length() > 1)
.map(s -> s.substring(0, 1).toUpperCase() + s.substring(1))
.collect(joining(","));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment