Created
February 26, 2015 13:57
-
-
Save aesteve/6c40d835f0c5f51e8fae to your computer and use it in GitHub Desktop.
underscore.map Java 8
This file contains 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
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