Interface Checked.Function<A,​B,​E extends java.lang.Exception>

  • Type Parameters:
    A - the type of the input to the function
    B - the type of the result of the function
    E - The type of exception potentially thrown
    Enclosing class:
    Checked
    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 Checked.Function<A,​B,​E extends java.lang.Exception>
    Represents a Checked.Function that may throw an exception.
    • Method Detail

      • apply

        B apply​(A t)
         throws E extends java.lang.Exception
        Throws:
        E extends java.lang.Exception
      • lift

        default java.util.function.Function<A,​Try<B>> lift()