Package org.ethelred.util.function
Interface CheckedConsumer<T,E extends Throwable>
-
- Type Parameters:
T- The consumed typeE- A checked exception type that is thrown by the operation
public interface CheckedConsumer<T,E extends Throwable>Checked wrapper for a Consumer.
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description voidaccept(T t)default Consumer<T>asUnchecked()static <TT,EE extends Throwable>
Consumer<TT>unchecked(CheckedConsumer<TT,EE> checkedConsumer)
-