Interface CheckedSupplier<T>
-
- Type Parameters:
T- the supplier return type
- All Superinterfaces:
java.util.function.Supplier<T>
- 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 CheckedSupplier<T> extends java.util.function.Supplier<T>A supplier interface that automatically wraps any exceptions.- Author:
- Ramsey Gurley
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default Tget()Tgets()Same asgetexcept Exceptions may be thrown.
-