Interface LambdaUnchecker.ConsumerWithExceptions<T,​E extends java.lang.Exception>

Type Parameters:
T - consumer input type
E - checked exception
Enclosing class:
LambdaUnchecker
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 LambdaUnchecker.ConsumerWithExceptions<T,​E extends java.lang.Exception>
Functional interface for consumers with checked exceptions
See Also:
Consumer
  • Method Summary

    Modifier and Type Method Description
    void accept​(T t)  
  • Method Details

    • accept

      void accept​(T t) throws E extends java.lang.Exception
      Parameters:
      t - consumer input
      Throws:
      E - checked exception
      See Also:
      Consumer.accept(java.lang.Object)