Skip to content

Instantly share code, notes, and snippets.

@vferries
Created June 17, 2015 13:44
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 vferries/23f86bdc68e1b74b5e0d to your computer and use it in GitHub Desktop.
Save vferries/23f86bdc68e1b74b5e0d to your computer and use it in GitHub Desktop.
Templates Eclipse jdk8
foreach jdk8 style :
${iterable}.forEach(${iterable_element} -> {
${cursor}
});
stream :
${iterable}.stream()
.map(${element} -> ${element}${cursor})
.filter(${item} -> true)
.collect(Collectors.toList());
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment