Skip to content

Instantly share code, notes, and snippets.

@jmaciasluque
Last active August 29, 2015 14:27
  • 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 jmaciasluque/e2917799640cfc17932d to your computer and use it in GitHub Desktop.
private void exercise1() {
List<String> list = Arrays.asList(
"The", "Quick", "BROWN", "Fox", "Jumped", "Over", "The", "LAZY", "DOG");
List<String> newList =
list
.stream()
.map(String::toLowerCase)
.collect(Collectors.toList());
newList.forEach(System.out::println);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment