Interface UFunErrSafe.UFunErrSafe1<R,T1,E extends Throwable>

Type Parameters:
T1 - function argument
E - execution error
All Superinterfaces:
UFunErr.UFunErr1<R,T1,E>
Enclosing interface:
UFunErrSafe<R,E extends Throwable>
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 static interface UFunErrSafe.UFunErrSafe1<R,T1,E extends Throwable> extends UFunErr.UFunErr1<R,T1,E>
Representation of a method in Java. Although called a function, it works very similar to a method, and it is possible to reference one via referencing or lambda expressions.
  • Method Summary

    Modifier and Type
    Method
    Description
    Method that invokes the behavior of the function.

    Methods inherited from interface ushiosan.jvm.function.UFunErr.UFunErr1

    invoke
  • Method Details

    • invokeSafe

      @NotNull default @NotNull Optional<R> invokeSafe(T1 a1)
      Method that invokes the behavior of the function. This method takes the necessary parameters.
      Parameters:
      a1 - function argument
      Returns:
      function call result