Interface ThrowingSupplier<R>
- Type Parameters:
R
- The result type
- All Superinterfaces:
SpecificThrowingSupplier<Exception,
R>
- 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 ThrowingSupplier<R>
extends SpecificThrowingSupplier<Exception,R>
Similar to a
Supplier
, except that the functional get
method is allowed to throw any exception.- Since:
- 2.9
-
Method Summary
Methods inherited from interface org.omegazero.common.util.function.SpecificThrowingSupplier
get