Package akka.japi.pf

Interface FI.Apply2<I1,​I2,​R>

  • Type Parameters:
    I1 - the first input type, that this Apply will be applied to
    I2 - the second input type, that this Apply will be applied to
    R - the return type, that the results of the application will have
    Enclosing class:
    FI
    Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    public static interface FI.Apply2<I1,​I2,​R>
    Functional interface for an application.

    This class is kept for compatibility, but for future API's please prefer Function2.

    • Method Detail

      • apply

        R apply​(I1 i1,
                I2 i2)
         throws java.lang.Exception
        The application to perform.
        Parameters:
        i1 - an instance that the application is performed on
        i2 - an instance that the application is performed on
        Returns:
        the result of the application
        Throws:
        java.lang.Exception