Package io.tesler.api.util
Interface Invoker<T,E extends 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 Invoker<T,E extends Throwable>
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description T
invoke()
static Invoker<Void,RuntimeException>
of(Runnable runnable)
static <V> Invoker<V,Exception>
of(Callable<V> callable)
-