Interface FunctionWithExceptions1<T,R,E extends Throwable>

Type Parameters:
T - the type of the parameter of the function
R - the type of the result of the function
E - the type of the exceptions

public interface FunctionWithExceptions1<T,R,E extends Throwable>
A function that might throw exceptions.
  • Method Summary

    Modifier and Type
    Method
    Description
    apply(T t)
    Applies the function.
  • Method Details

    • apply

      R apply(T t) throws E
      Applies the function.
      Parameters:
      t - the argument to the function
      Returns:
      the result of the function
      Throws:
      E - any exception thrown by the function