All Downloads are FREE. Search and download functionalities are using the official Maven repository.

fj.F8Functions Maven / Gradle / Ivy

Go to download

Functional Java is an open source library that supports closures for the Java programming language

There is a newer version: 5.0
Show newest version
package fj;

/**
 * Created by MarkPerry on 6/04/2014.
 */
public final class F8Functions {

	private F8Functions() {
	}

	/**
	 * Partial application.
	 *
	 * @param a The A to which to apply this function.
	 * @return The function partially applied to the given argument.
	 */
	public static  F7 f(final F8 func, final A a) {
		return (b, c, d, e, f, g, h) -> func.f(a, b, c, d, e, f, g, h);
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy