Interface UFunErrSafe.UFunErrSafe4<R,T1,T2,T3,T4,E extends Throwable>

Type Parameters:
T1 - first function argument
T2 - second function argument
T3 - third function argument
T4 - fourth function argument
E - execution error
All Superinterfaces:
UFunErr.UFunErr4<R,T1,T2,T3,T4,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.UFunErrSafe4<R,T1,T2,T3,T4,E extends Throwable> extends UFunErr.UFunErr4<R,T1,T2,T3,T4,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
    invokeSafe(T1 a1, T2 a2, T3 a3, T4 a4)
    Method that invokes the behavior of the function.

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

    invoke
  • Method Details

    • invokeSafe

      @NotNull default @NotNull Optional<R> invokeSafe(T1 a1, T2 a2, T3 a3, T4 a4)
      Method that invokes the behavior of the function. This method takes the necessary parameters.
      Parameters:
      a1 - first function argument
      a2 - second function argument
      a3 - third function argument
      a4 - fourth function argument
      Returns:
      function call result