Package akka.japi

Interface Function2<T1,​T2,​R>


  • public interface Function2<T1,​T2,​R>
    A Function interface. Used to create 2-arg first-class-functions is Java.

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

    • Method Detail

      • apply

        R apply​(T1 arg1,
                T2 arg2)
         throws java.lang.Exception
        Throws:
        java.lang.Exception