Skip to content

Instantly share code, notes, and snippets.

@iyengarajay
Created June 24, 2016 13:28
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save iyengarajay/a1fa983821dac2e07dbd967ac216eb17 to your computer and use it in GitHub Desktop.
numbers.stream()
.map( number -> number * 2)
.collect(Collectors.toList());
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment