Interface CheckedFunction<T,​R,​E extends java.lang.Throwable>

  • Type Parameters:
    T - the type of the input to the function
    R - the type of the result of the function
    E - the type of the exception
    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 interface CheckedFunction<T,​R,​E extends java.lang.Throwable>
    Represents a function that accepts one argument and produces a result. May throw an exception.
    Since:
    1.0
    • Method Detail

      • apply

        R apply​(T t)
         throws E extends java.lang.Throwable
        Throws:
        E extends java.lang.Throwable