Interface IThrowingFunction<V, R, T extends Throwable>

Type Parameters:
V - type of value
R - type of result
T - type of exception which gets thrown
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 IThrowingFunction<V, R, T extends Throwable>
Function which allows throwing any exception.
Since:
v5.1.0 - 2024-07-12
Author:
hypfvieh
  • Method Summary

    Modifier and Type
    Method
    Description
    apply(V _val)
    Returns the result of the function or throws an exception.
  • Method Details

    • apply

      R apply(V _val) throws T
      Returns the result of the function or throws an exception.
      Returns:
      result of supplied function
      Throws:
      T - exception