Interface ThrowableConsumer<T,​E extends Throwable>

All Superinterfaces:
Consumer<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 ThrowableConsumer<T,​E extends Throwable>
extends Consumer<T>
Author:
Collin Alpert
  • Method Summary

    Modifier and Type Method Description
    default void accept​(T t)
    Performs this operation on the given argument.
    void consume​(T t)  

    Methods inherited from interface java.util.function.Consumer

    andThen
  • Method Details