Package me.saro.kit.functions
Interface ThrowableSupplier<R>
- Type Parameters:
R- output return type
- 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 ThrowableSupplier<R>
Throwable
Supplier- Since:
- 1.0.0
- Author:
- PARK Yong Seo
- See Also:
Supplier
-
Method Summary
Modifier and Type Method Description Rget()static <R> java.util.function.Supplier<R>wrap(ThrowableSupplier<R> supplier)throws Exception lambda to throws RuntimeException lambda