Interface IThrowingSupplier<V, T extends Throwable>

Type Parameters:
V - type which is supplied
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 IThrowingSupplier<V, T extends Throwable>
Supplier which allows throwing any exception.
Since:
v1.3.0 - 2023-01-12
Author:
hypfvieh
  • Method Summary

    Modifier and Type
    Method
    Description
    get()
    Returns the result of the supplier or throws an exception.
  • Method Details

    • get

      V get() throws T
      Returns the result of the supplier or throws an exception.
      Returns:
      result of supplied function
      Throws:
      T - exception