Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
//partial application
Function4<Integer, Integer, Integer, Integer, Integer> fourArgFunction = (a, b, c, d) -> a + b + c + d;
Function2<Integer,Integer,Integer> result = fourArgFunction.apply(4,5);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment