Interface FailableInterruptibleConsumer<T,​E extends Exception>

  • Type Parameters:
    T - The type of the data being consumed
    E - The exception type
    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 FailableInterruptibleConsumer<T,​E extends Exception>
    An interreuptible consumer that may also fail with a checked exception during the execution of the accept(..) method.
    Author:
    Eyal Schneider