Interface IThrowingConsumer<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 IThrowingConsumer<V, T extends Throwable>
Supplier which allows throwing any exception.
Since:
v5.1.0 - 2024-07-12
Author:
hypfvieh
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    accept(V _val)
    Performs this operation on the given argument.
  • Method Details

    • accept

      void accept(V _val) throws T
      Performs this operation on the given argument.
      Throws:
      T - exception