Interface CheckedConsumer<T,E extends Exception>

All Superinterfaces:
Consumer<T>
All Known Subinterfaces:
CheckedEolConsumer<T>
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 CheckedConsumer<T,E extends Exception> extends Consumer<T>
Since:
1.6
Author:
Sina Madani
  • Method Summary

    Modifier and Type
    Method
    Description
    default void
    accept(T t)
     
    void
     

    Methods inherited from interface java.util.function.Consumer

    andThen