Interface Functions.FailableFunction<I,​O,​T extends java.lang.Throwable>

  • Enclosing class:
    Functions
    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 Functions.FailableFunction<I,​O,​T extends java.lang.Throwable>
    • Method Detail

      • apply

        O apply​(I pInput)
         throws T extends java.lang.Throwable
        Apply the function.
        Parameters:
        pInput - the input for the function
        Returns:
        the result of the function
        Throws:
        T - if the function fails
        T extends java.lang.Throwable