Skip to content

Instantly share code, notes, and snippets.

@panphora panphora/

Last active Sep 19, 2019
What would you like to do?
class Main {
public static void main(String[] args) {
System.out.println(IntStream.range(1,5).map(n -> n*2).reduce(1, (a,b)->a+b));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.