Interface CheckedConsumer<T>
-
- All Superinterfaces:
java.util.function.Consumer<T>
public interface CheckedConsumer<T> extends java.util.function.Consumer<T>A consumer interface that automatically wraps any exceptions.- Author:
- Ramsey Gurley
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default voidaccept(T t)voidaccepts(T t)Same asacceptexcept Exceptions may be thrown.
-