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

  • Type Parameters:
    T - The input type for the operation
    R - The return type for the operation
    E - A checked exception type that is thrown by the operation

    public interface CheckedFunction<T,​R,​E extends java.lang.Throwable>
    Checked wrapper for a Function.
    • Method Detail

      • apply

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

        default java.util.function.Function<T,​R> asUnchecked()
      • unchecked

        static <TT,​RR,​EE extends java.lang.Throwable> java.util.function.Function<TT,​RR> unchecked​(CheckedFunction<TT,​RR,​EE> checkedFunction)