fj.F3Functions Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of functionaljava Show documentation
Show all versions of functionaljava Show documentation
Functional Java is an open source library that supports closures for the Java programming language
package fj;
/**
* Created by MarkPerry on 6/04/2014.
*/
public final class F3Functions {
private F3Functions() {
}
/**
* Partial application.
*
* @param a The A
to which to apply this function.
* @return The function partially applied to the given argument.
*/
public static F2 f(final F3 f, final A a) {
return (b, c) -> f.f(a, b, c);
}
}