Interface InterruptibleCheckedConsumer<T,E extends Exception>
-
- Type Parameters:
T
- the type of the input to the operationE
- the type of the Exception to the operation
- 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 InterruptibleCheckedConsumer<T,E extends Exception>
Consumer
which can throw a checked exception and be interrupted.- See Also:
Consumer
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
accept(T input)
-
-
-
Method Detail
-
accept
void accept(T input) throws E extends Exception, InterruptedException
- Throws:
E extends Exception
InterruptedException
-
-