Interface CheckedFunction<T,​R>

  • Type Parameters:
    T - input type
    R - result type
    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>
    A Function that throws checked exceptions.
    • Method Detail

      • apply

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