Interface CheckedFunction1<T1,​R,​E extends java.lang.Throwable>

  • All Superinterfaces:
    java.util.function.Function<T1,​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 CheckedFunction1<T1,​R,​E extends java.lang.Throwable>
    extends java.util.function.Function<T1,​R>
    • Method Detail

      • checkedApply

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

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

        default java.util.Optional<R> toOptional​(T1 t)