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

fj.F4Functions 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 F4Functions {

  private F4Functions() {
  }

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

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy