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

  • All Superinterfaces:
    java.util.function.Function<T,​R>
    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>
    • Method Detail

      • apply

        default R apply​(T t)
        Specified by:
        apply in interface java.util.function.Function<T,​R>
      • checkedApply

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