Created
January 11, 2019 13:06
-
-
Save angellandros/a36bb4a469fdc0d539e09df86bf02b27 to your computer and use it in GitHub Desktop.
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
final int s = ImmutableList.of(1, 2, 3) | |
.stream() | |
.map(x -> x * 2) | |
.reduce(0, (x, y) -> x + y); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment