Skip to content

Instantly share code, notes, and snippets.

@aesteve
Created February 26, 2015 13:57
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 aesteve/6c40d835f0c5f51e8fae to your computer and use it in GitHub Desktop.
Save aesteve/6c40d835f0c5f51e8fae to your computer and use it in GitHub Desktop.
underscore.map Java 8
List<String> strings = new ArrayList<String>();
// ... populate list
List<String> mappedStrings = strings.stream().map(someString -> someString.toLowerCase()).collect(Collectors.toList());
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment