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

  • All Superinterfaces:
    java.util.function.Function<T,​R>
    All Known Subinterfaces:
    CheckedEolFunction<T,​R>, CheckedEolPredicate<T>, CheckedEolUnaryOperator<T>, CheckedPredicate<T,​E>, CheckedUnaryOperator<T,​E>
    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.Exception>
    extends java.util.function.Function<T,​R>
    Since:
    1.6
    Author:
    Sina Madani
    • Method Detail

      • apply

        default R apply​(T t)
                 throws java.lang.RuntimeException
        Specified by:
        apply in interface java.util.function.Function<T,​R>
        Throws:
        java.lang.RuntimeException
      • applyThrows

        R applyThrows​(T t)
               throws E extends java.lang.Exception
        Throws:
        E extends java.lang.Exception