Package akka.japi.pf

Interface FI.Apply<I,​R>

  • Type Parameters:
    I - the 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.Apply<I,​R>
    Functional interface for an application.

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

    • Method Detail

      • apply

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