Interface Function<T,​R>

    • Method Detail

      • apply

        R apply​(@NonNull T t)
         throws java.lang.Throwable
        Apply some calculation to the input value and return some other value.
        Parameters:
        t - the input value
        Returns:
        the output value
        Throws:
        java.lang.Throwable - if the implementation wishes to throw any type of exception