Skip to content

Instantly share code, notes, and snippets.

@vetler
Created March 23, 2015 12:24
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 vetler/83adc044268f01eec5c8 to your computer and use it in GitHub Desktop.
Save vetler/83adc044268f01eec5c8 to your computer and use it in GitHub Desktop.
void foo(Function<String, Function<String, Consumer<Long>>> f) {
f.apply("arg1").apply("arg2").accept(1L);
}
foo(a1 -> a2 -> l -> System.out.println("%s %s %d", a1, a2, l);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment