Package org.alfresco.solr.utils
Interface ThrowingConsumer<T,E extends java.lang.Throwable>
-
- 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 ThrowingConsumer<T,E extends java.lang.Throwable>Class used to use aConsumerthrowing a checked exception
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaccept(T t)static <T,E extends java.lang.Throwable>
java.util.function.Consumer<T>execute(ThrowingConsumer<T,E> consumer)
-
-
-
Method Detail
-
execute
static <T,E extends java.lang.Throwable> java.util.function.Consumer<T> execute(ThrowingConsumer<T,E> consumer)
-
-