Interface Function<T,​R>


  • public interface Function<T,​R>
    A Function interface. Used to create first-class-functions is Java.

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

    • Method Detail

      • apply

        R apply​(T param)
         throws java.lang.Exception
        Throws:
        java.lang.Exception